Deleted Added
full compact
1,2c1,2
< .\" Copyright (c) 1991, 1993
< .\" The Regents of the University of California. All rights reserved.
---
> .\" Copyright (c) 2011 The FreeBSD Foundation
> .\" All rights reserved.
3a4,6
> .\" This documentation was written by David Chisnall under sponsorship from
> .\" the FreeBSD Foundation.
> .\"
12,14d14
< .\" 4. Neither the name of the University nor the names of its contributors
< .\" may be used to endorse or promote products derived from this software
< .\" without specific prior written permission.
28,29c28
< .\" @(#)ctype.3 8.1 (Berkeley) 6/4/93
< .\" $FreeBSD: head/lib/libc/locale/ctype.3 196820 2009-09-04 07:44:58Z des $
---
> .\" $FreeBSD: head/lib/libc/locale/ctype_l.3 232935 2012-03-13 20:02:41Z theraven $
31,32c30,31
< .Dd March 30, 2004
< .Dt CTYPE 3
---
> .Dd March 6, 2012
> .Dt CTYPE_L 3
35,58c34,56
< .Nm digittoint ,
< .Nm isalnum ,
< .Nm isalpha ,
< .Nm isascii ,
< .Nm isblank ,
< .Nm iscntrl ,
< .Nm isdigit ,
< .Nm isgraph ,
< .Nm ishexnumber ,
< .Nm isideogram ,
< .Nm islower ,
< .Nm isnumber ,
< .Nm isphonogram ,
< .Nm isprint ,
< .Nm ispunct ,
< .Nm isrune ,
< .Nm isspace ,
< .Nm isspecial ,
< .Nm isupper ,
< .Nm isxdigit ,
< .Nm toascii ,
< .Nm tolower ,
< .Nm toupper
< .Nd character classification macros
---
> .Nm digittoint_l ,
> .Nm isalnum_l ,
> .Nm isalpha_l ,
> .Nm isascii_l ,
> .Nm isblank_l ,
> .Nm iscntrl_l ,
> .Nm isdigit_l ,
> .Nm isgraph_l ,
> .Nm ishexnumber_l ,
> .Nm isideogram_l ,
> .Nm islower_l ,
> .Nm isnumber_l ,
> .Nm isphonogram_l ,
> .Nm isprint_l ,
> .Nm ispunct_l ,
> .Nm isrune_l ,
> .Nm isspace_l ,
> .Nm isspecial_l ,
> .Nm isupper_l ,
> .Nm isxdigit_l ,
> .Nm tolower_l ,
> .Nm toupper_l
> .Nd character classification functions
64c62
< .Fn digittoint "int c"
---
> .Fn digittoint_l "int c" "locale_t loc"
66c64
< .Fn isalnum "int c"
---
> .Fn isalnum_l "int c" "locale_t loc"
68c66
< .Fn isalpha "int c"
---
> .Fn isalpha_l "int c" "locale_t loc"
70c68
< .Fn isascii "int c"
---
> .Fn isascii_l "int c" "locale_t loc"
72c70
< .Fn iscntrl "int c"
---
> .Fn iscntrl_l "int c" "locale_t loc"
74c72
< .Fn isdigit "int c"
---
> .Fn isdigit_l "int c" "locale_t loc"
76c74
< .Fn isgraph "int c"
---
> .Fn isgraph_l "int c" "locale_t loc"
78c76
< .Fn ishexnumber "int c"
---
> .Fn ishexnumber_l "int c" "locale_t loc"
80c78
< .Fn isideogram "int c"
---
> .Fn isideogram_l "int c" "locale_t loc"
82c80
< .Fn islower "int c"
---
> .Fn islower_l "int c" "locale_t loc"
84c82
< .Fn isnumber "int c"
---
> .Fn isnumber_l "int c" "locale_t loc"
86c84
< .Fn isphonogram "int c"
---
> .Fn isphonogram_l "int c" "locale_t loc"
88c86
< .Fn isspecial "int c"
---
> .Fn isspecial_l "int c" "locale_t loc"
90c88
< .Fn isprint "int c"
---
> .Fn isprint_l "int c" "locale_t loc"
92c90
< .Fn ispunct "int c"
---
> .Fn ispunct_l "int c" "locale_t loc"
94c92
< .Fn isrune "int c"
---
> .Fn isrune_l "int c" "locale_t loc"
96c94
< .Fn isspace "int c"
---
> .Fn isspace_l "int c" "locale_t loc"
98c96
< .Fn isupper "int c"
---
> .Fn isupper_l "int c" "locale_t loc"
100c98
< .Fn isxdigit "int c"
---
> .Fn isxdigit_l "int c" "locale_t loc"
102c100
< .Fn toascii "int c"
---
> .Fn tolower_l "int c" "locale_t loc"
104,106c102
< .Fn tolower "int c"
< .Ft int
< .Fn toupper "int c"
---
> .Fn toupper_l "int c" "locale_t loc"
109,110c105,109
< .Fa c .
< They are available as macros, defined in the include file
---
> .Fa c
> in the locale
> .Fa loc .
> They behave in the same way as the versions without the _l suffix, but use the
> specified locale rather than the global or per-thread locale.
133d131
< .Xr toascii 3 ,
137c135
< .Xr ascii 7
---
> .Xr xlocale 3
139,151c137,138
< These functions, except for
< .Fn digittoint ,
< .Fn isascii ,
< .Fn ishexnumber ,
< .Fn isideogram ,
< .Fn isnumber ,
< .Fn isphonogram ,
< .Fn isrune ,
< .Fn isspecial
< and
< .Fn toascii ,
< conform to
< .St -isoC .
---
> These functions conform to
> .St -p1003.1-2008 .