|
NAMEfirestring_hextoi - return a numerical value for a 2 digit hex stringSYNOPSIS#include <firestring.h>-lfirestring int firestring_hextoi(char *input) DESCRIPTIONfirestring_hextoi takes a string s with the first two characters as hex digits and converts the value to a integer.RETURN VALUEReturns the hex value between 0 and 255 (inclusive), or -1 if the first two characters of s are not valid hex digits.AUTHORIan Gulliver <ian@penguinhosting.net>SEE ALSOlibfirestring(3)
Visit the GSP FreeBSD Man Page Interface. |