Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
xt_strisint(3)		   Library Functions Manual		xt_strisint(3)

NAME
       xt_strisint() - Return true if string represents	an integer value

LIBRARY
       #include	<xtend/string.h>
       -lxtend

SYNOPSIS
       int     xt_strisint(const char *string, int base)

ARGUMENTS
       string: The string to be	tested
       base:   The expected base of the	integer	(usually 8, 10,	or 16)

DESCRIPTION
       Determine  whether a string is a	valid integer by attempting to convert
       it using	strtoll().

RETURN VALUES
       Non-zero	value if the string represents an integer, zero	otherwise

SEE ALSO
       strtoll(3)

								xt_strisint(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xt_strisint&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help