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

FreeBSD Manual Pages

  
 
  

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

NAME
       firestring_hextoi - return a numerical value for	a 2 digit hex string

SYNOPSIS
       #include	<firestring.h>
       -lfirestring

       int firestring_hextoi(char *input)

DESCRIPTION
       firestring_hextoi takes a string	s with the first two characters	as hex
       digits and converts the value to	a integer.

RETURN VALUE
       Returns the hex value between 0 and 255 (inclusive), or -1 if the first
       two characters of s are not valid hex digits.

AUTHOR
       Ian Gulliver <ian@penguinhosting.net>

SEE ALSO
       libfirestring(3)

				  2002-09-21		  firestring_hextoi(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=firestring_hextoi&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help