1.\" Copyright (c) 1991 The Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" %sccs.include.redist.man% 5.\" 6.\" @(#)isspace.3 5.1 (Berkeley) 05/02/91 7.\" 8.Dd 9.Dt ISSPACE 3 10.Os 11.Sh NAME 12.Nm isspace 13.Nd white-space character test 14.Sh SYNOPSIS 15.Fd #include <ctype.h> 16.Ft int 17.Fn isspace "int c" 18.Sh DESCRIPTION 19The 20.Fn isspace 21function tests for the standard white-space characters 22.\" or for any 23.\" of an implementation-defined set of characters 24for which 25.Xr isalnum 3 26is false. 27The standard white-space characters are the following: 28.Bl -tag -width xxxxx -offset indent 29.It Sq \0 30Space character. 31.It Li \ef 32Form feed. 33.It Li \en 34New-line. 35.It Li \er 36Carriage return. 37.It Li \et 38Horizontal tab. 39.It Li \ev 40And vertical tab. 41.El 42.Pp 43In the 44.Em ``C'' 45locale, 46.Fn isspace 47returns true only for the standard white-space characters. 48.Sh RETURN VALUES 49The 50.Fn isspace 51macro returns zero if the character tests false and 52returns non-zero if the character tests true. 53.Sh SEE ALSO 54.Xr isascii 3 , 55.Xr isalnum 3 , 56.Xr isalpha 3 , 57.Xr iscntrl 3 , 58.Xr isdigit 3 , 59.Xr isgraph 3 , 60.Xr islower 3 , 61.Xr isprint 3 , 62.Xr ispunct 3 , 63.Xr isupper 3 , 64.Xr isxdigit 3 , 65.Xr toascii 3 , 66.Xr tolower 3 , 67.Xr toupper 3 , 68.Xr stdio 3 69.Xr ascii 7 70.Sh STANDARDS 71The 72.Fn isspace 73function conforms to 74.St -ansiC . 75