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

FreeBSD Manual Pages

  
 
  

home | help
ISXDIGIT(3)		 BSD Library Functions Manual		   ISXDIGIT(3)

NAME
     isxdigit -- hexadecimal-digit character test

LIBRARY
     Standard C	Library	(libc, -lc)

SYNOPSIS
     #include <ctype.h>

     int
     isxdigit(int c);

DESCRIPTION
     The isxdigit() function tests for any hexadecimal-digit character.	 For
     single C chars locales (see multibyte(3)) the value of the	argument is
     representable as an unsigned char or the value of EOF.  In	the ASCII
     character set, this includes the following	characters (with their numeric
     values shown in octal):

     060 ``0''	   061 ``1''	 062 ``2''     063 ``3''     064 ``4''
     065 ``5''	   066 ``6''	 067 ``7''     070 ``8''     071 ``9''
     101 ``A''	   102 ``B''	 103 ``C''     104 ``D''     105 ``E''
     106 ``F''	   141 ``a''	 142 ``b''     143 ``c''     144 ``d''
     145 ``e''	   146 ``f''

RETURN VALUES
     The isxdigit() function returns zero if the character tests false and re-
     turns non-zero if the character tests true.

SEE ALSO
     ctype(3), multibyte(3), ascii(7)

STANDARDS
     The isxdigit() function conforms to ISO/IEC 9899:1990 ("ISO C90").

BSD				 June 4, 1993				   BSD

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO | STANDARDS

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

home | help