isgraph.3 (233992) | isgraph.3 (238919) |
---|---|
1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the American National Standards Committee X3, on Information 6.\" Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)isgraph.3 8.2 (Berkeley) 12/11/93 | 1.\" Copyright (c) 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the American National Standards Committee X3, on Information 6.\" Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)isgraph.3 8.2 (Berkeley) 12/11/93 |
33.\" $FreeBSD: head/lib/libc/locale/isgraph.3 233992 2012-04-07 09:05:30Z joel $ | 33.\" $FreeBSD: head/lib/libc/locale/isgraph.3 238919 2012-07-30 20:56:19Z issyl0 $ |
34.\" | 34.\" |
35.Dd July 17, 2005 | 35.Dd July 30, 2012 |
36.Dt ISGRAPH 3 37.Os 38.Sh NAME 39.Nm isgraph 40.Nd printing character test (space character exclusive) 41.Sh LIBRARY 42.Lb libc 43.Sh SYNOPSIS 44.In ctype.h 45.Ft int 46.Fn isgraph "int c" | 36.Dt ISGRAPH 3 37.Os 38.Sh NAME 39.Nm isgraph 40.Nd printing character test (space character exclusive) 41.Sh LIBRARY 42.Lb libc 43.Sh SYNOPSIS 44.In ctype.h 45.Ft int 46.Fn isgraph "int c" |
47.Ft int 48.Fn isgraph_l "int c" "locale_t loc" |
|
47.Sh DESCRIPTION 48The 49.Fn isgraph 50function tests for any printing character except space 51.Pq Ql "\~" 52and other 53locale-specific space-like characters. 54The value of the argument must be representable as an --- 19 unchanged lines hidden (view full) --- 74.It "\&135\ ``]''" Ta "136\ ``^''" Ta "137\ ``_''" Ta "140\ ```''" Ta "141\ ``a''" 75.It "\&142\ ``b''" Ta "143\ ``c''" Ta "144\ ``d''" Ta "145\ ``e''" Ta "146\ ``f''" 76.It "\&147\ ``g''" Ta "150\ ``h''" Ta "151\ ``i''" Ta "152\ ``j''" Ta "153\ ``k''" 77.It "\&154\ ``l''" Ta "155\ ``m''" Ta "156\ ``n''" Ta "157\ ``o''" Ta "160\ ``p''" 78.It "\&161\ ``q''" Ta "162\ ``r''" Ta "163\ ``s''" Ta "164\ ``t''" Ta "165\ ``u''" 79.It "\&166\ ``v''" Ta "167\ ``w''" Ta "170\ ``x''" Ta "171\ ``y''" Ta "172\ ``z''" 80.It "\&173\ ``{''" Ta "174\ ``|''" Ta "175\ ``}''" Ta "176\ ``~''" Ta \& 81.El | 49.Sh DESCRIPTION 50The 51.Fn isgraph 52function tests for any printing character except space 53.Pq Ql "\~" 54and other 55locale-specific space-like characters. 56The value of the argument must be representable as an --- 19 unchanged lines hidden (view full) --- 76.It "\&135\ ``]''" Ta "136\ ``^''" Ta "137\ ``_''" Ta "140\ ```''" Ta "141\ ``a''" 77.It "\&142\ ``b''" Ta "143\ ``c''" Ta "144\ ``d''" Ta "145\ ``e''" Ta "146\ ``f''" 78.It "\&147\ ``g''" Ta "150\ ``h''" Ta "151\ ``i''" Ta "152\ ``j''" Ta "153\ ``k''" 79.It "\&154\ ``l''" Ta "155\ ``m''" Ta "156\ ``n''" Ta "157\ ``o''" Ta "160\ ``p''" 80.It "\&161\ ``q''" Ta "162\ ``r''" Ta "163\ ``s''" Ta "164\ ``t''" Ta "165\ ``u''" 81.It "\&166\ ``v''" Ta "167\ ``w''" Ta "170\ ``x''" Ta "171\ ``y''" Ta "172\ ``z''" 82.It "\&173\ ``{''" Ta "174\ ``|''" Ta "175\ ``}''" Ta "176\ ``~''" Ta \& 83.El |
84.Pp 85The 86.Fn isgraph_l 87function takes an explicit locale argument, whereas the 88.Fn isgraph 89function uses the current global or per-thread locale. |
|
82.Sh RETURN VALUES 83The 84.Fn isgraph | 90.Sh RETURN VALUES 91The 92.Fn isgraph |
85function returns zero if the character tests false and 86returns non-zero if the character tests true. | 93and 94.Fn isgraph_l 95functions return zero if the character tests false and 96return non-zero if the character tests true. |
87.Sh COMPATIBILITY 88The 89.Bx 4.4 90extension of accepting arguments outside of the range of the 91.Vt "unsigned char" 92type in locales with large character sets is considered obsolete 93and may not be supported in future releases. 94The 95.Fn iswgraph 96function should be used instead. 97.Sh SEE ALSO 98.Xr ctype 3 , 99.Xr iswgraph 3 , 100.Xr ascii 7 101.Sh STANDARDS 102The 103.Fn isgraph 104function conforms to 105.St -isoC . | 97.Sh COMPATIBILITY 98The 99.Bx 4.4 100extension of accepting arguments outside of the range of the 101.Vt "unsigned char" 102type in locales with large character sets is considered obsolete 103and may not be supported in future releases. 104The 105.Fn iswgraph 106function should be used instead. 107.Sh SEE ALSO 108.Xr ctype 3 , 109.Xr iswgraph 3 , 110.Xr ascii 7 111.Sh STANDARDS 112The 113.Fn isgraph 114function conforms to 115.St -isoC . |
116The 117.Fn isgraph_l 118function conforms to 119.St -p1003.1-2008 . |
|