BSD 4_4 development
[unix-history] / usr / share / man / cat3 / ispunct.0
CommitLineData
8bb980a3
C
1ISPUNCT(3) BSD Programmer's Manual ISPUNCT(3)
2
3N\bNA\bAM\bME\bE
4 i\bis\bsp\bpu\bun\bnc\bct\bt - punctuation character test
5
6S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
7 #\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<c\bct\bty\byp\bpe\be.\b.h\bh>\b>
8
9 _\bi_\bn_\bt
10 i\bis\bsp\bpu\bun\bnc\bct\bt(_\bi_\bn_\bt _\bc);
11
12D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
13 The i\bis\bsp\bpu\bun\bnc\bct\bt() function tests for any printing character except for space
14 (' ') or a character for which isalnum(3) is true. In the ASCII charac-
15 ter set, this includes the following characters:
16
17
18 041 ``!'' 042 ``"'' 043 ``#'' 044 ``$'' 045 ``%''
19 046 ``&'' 047 ``''' 050 ``('' 051 ``)'' 052 ``*''
20 053 ``+'' 054 ``,'' 055 ``-'' 056 ``.'' 057 ``/''
21 072 ``:'' 073 ``;'' 074 ``<'' 075 ``='' 076 ``>''
22 077 ``?'' 100 ``@'' 133 ``['' 134 ``'' 135 ``]''
23 136 ``^'' 137 ``_'' 140 ```'' 173 ``{'' 174 ``|''
24 175 ``}'' 176 ``~''
25
26R\bRE\bET\bTU\bUR\bRN\bN V\bVA\bAL\bLU\bUE\bES\bS
27 The i\bis\bsp\bpu\bun\bnc\bct\bt() function returns zero if the character tests false and re-
28 turns non-zero if the character tests true.
29
30S\bSE\bEE\bE A\bAL\bLS\bSO\bO
31 ctype(3), ascii(7)
32
33S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS
34 The i\bis\bsp\bpu\bun\bnc\bct\bt() function conforms to ANSI C X3.159-1989 (``ANSI C '').
35
364.4BSD June 4, 1993 1