@end smallexample
@pindex wctype.h
-This function is declared in @file{wctype.h}.
+It is declared in @file{wctype.h}.
@end deftypefun
@cindex alphabetic character
@end smallexample
@pindex wctype.h
-This function is declared in @file{wctype.h}.
+It is declared in @file{wctype.h}.
@end deftypefun
@cindex control character
@end smallexample
@pindex wctype.h
-This function is declared in @file{wctype.h}.
+It is declared in @file{wctype.h}.
@end deftypefun
@cindex digit character
@end smallexample
@pindex wctype.h
-This function is declared in @file{wctype.h}.
+It is declared in @file{wctype.h}.
@end deftypefun
@cindex graphic character
@end smallexample
@pindex wctype.h
-This function is declared in @file{wctype.h}.
+It is declared in @file{wctype.h}.
@end deftypefun
@cindex lower-case character
@end smallexample
@pindex wctype.h
-This function is declared in @file{wctype.h}.
+It is declared in @file{wctype.h}.
@end deftypefun
@cindex printing character
@end smallexample
@pindex wctype.h
-This function is declared in @file{wctype.h}.
+It is declared in @file{wctype.h}.
@end deftypefun
@cindex punctuation character
@end smallexample
@pindex wctype.h
-This function is declared in @file{wctype.h}.
+It is declared in @file{wctype.h}.
@end deftypefun
@cindex whitespace character
@end smallexample
@pindex wctype.h
-This function is declared in @file{wctype.h}.
+It is declared in @file{wctype.h}.
@end deftypefun
@cindex upper-case character
@end smallexample
@pindex wctype.h
-This function is declared in @file{wctype.h}.
+It is declared in @file{wctype.h}.
@end deftypefun
@cindex hexadecimal digit character
@end smallexample
@pindex wctype.h
-This function is declared in @file{wctype.h}.
+It is declared in @file{wctype.h}.
@end deftypefun
The GNu C library provides also a function which is not defined in the
lower-case letter. If @var{wc} is not an upper-case letter,
@var{wc} is returned unchanged.
+@noindent
+@code{towlower} can be implemented using
+
+@smallexample
+towctrans (wc, wctrans ("tolower"))
+@end smallexample
+
@pindex wctype.h
@noindent
This function is declared in @file{wctype.h}.
If @var{wc} is a lower-case letter, @code{towupper} returns the corresponding
upper-case letter. Otherwise @var{wc} is returned unchanged.
+@noindent
+@code{towupper} can be implemented using
+
+@smallexample
+towctrans (wc, wctrans ("toupper"))
+@end smallexample
+
@pindex wctype.h
@noindent
This function is declared in @file{wctype.h}.
-/* Copyright (C) 1991,92,93,94,95,96,97,98 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,96,97,98,99 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
if (openit)
{
fd = (largefile
- ? __open (tmpl, O_RDWR | O_CREAT | O_EXCL, 0666)
- : __open64 (tmpl, O_RDWR | O_CREAT | O_EXCL, 0666));
+ ? __open (tmpl, O_RDWR | O_CREAT | O_EXCL, 0600)
+ : __open64 (tmpl, O_RDWR | O_CREAT | O_EXCL, 0600));
if (fd >= 0)
{
__set_errno (save_errno);