1*61137Sbostic.\" Copyright (c) 1991, 1993 2*61137Sbostic.\" The Regents of the University of California. All rights reserved. 348910Scael.\" 450305Sbostic.\" This code is derived from software contributed to Berkeley by 550305Sbostic.\" the American National Standards Committee X3, on Information 650305Sbostic.\" Processing Systems. 750305Sbostic.\" 848910Scael.\" %sccs.include.redist.man% 948910Scael.\" 10*61137Sbostic.\" @(#)isxdigit.3 8.1 (Berkeley) 06/04/93 1148910Scael.\" 1248910Scael.Dd 1348910Scael.Dt ISXDIGIT 3 1448910Scael.Os 1548910Scael.Sh NAME 1648910Scael.Nm isxdigit 1748910Scael.Nd hexadecimal-digit character test 1848910Scael.Sh SYNOPSIS 1948910Scael.Fd #include <ctype.h> 2048910Scael.Ft int 2151387Sbostic.Fn isxdigit "int c"; 2248910Scael.Sh DESCRIPTION 2348910ScaelThe 2448910Scael.Fn isxdigit 2548910Scaelfunction tests for any hexadecimal-digit character. 2651409SbosticIn the ASCII character set, this includes the following characters: 2751409Sbostic.sp 2851409Sbostic.Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ 2951409Sbostic.It \&060\ ``0'' \t061\ ``1'' \t062\ ``2'' \t063\ ``3'' \t064\ ``4'' 3051409Sbostic.It \&065\ ``5'' \t066\ ``6'' \t067\ ``7'' \t070\ ``8'' \t071\ ``9'' 3151409Sbostic.It \&101\ ``A'' \t102\ ``B'' \t103\ ``C'' \t104\ ``D'' \t105\ ``E'' 3251409Sbostic.It \&106\ ``F'' \t141\ ``a'' \t142\ ``b'' \t143\ ``c'' \t144\ ``d'' 3351409Sbostic.It \&145\ ``e'' \t146\ ``f'' 3451409Sbostic.El 3548910Scael.Sh RETURN VALUES 3648910ScaelThe 3748910Scael.Fn isxdigit 3851387Sbosticfunction returns zero if the character tests false and 3948910Scaelreturns non-zero if the character tests true. 4048910Scael.Sh SEE ALSO 4151387Sbostic.Xr ctype 3 , 4248910Scael.Xr ascii 7 4348910Scael.Sh STANDARDS 4448910ScaelThe 4548910Scael.Fn isxdigit 4648910Scaelfunction conforms to 4748910Scael.St -ansiC . 48