]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/localeconv.3
fanotify_init.2, fanotify.7: Document FAN_REPORT_TID
[thirdparty/man-pages.git] / man3 / localeconv.3
index 8b136a2ad8335d9966b04bce63644c21eea02366..37cfcaf5678f5d1828938244c341c5c4e7cbd813 100644 (file)
@@ -1,5 +1,6 @@
-.\" (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
+.\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
-.\" License.
+.\" %%%LICENSE_END
+.\"
 .\" Modified Sat Jul 24 19:01:20 1993 by Rik Faith (faith@cs.unc.edu)
-.TH LOCALECONV 3  1993-04-25 "GNU" "Linux Programmer's Manual"
+.TH LOCALECONV 3  2015-03-02 "GNU" "Linux Programmer's Manual"
 .SH NAME
 localeconv \- get numeric formatting information
 .SH SYNOPSIS
 .nf
 .B #include <locale.h>
-.sp
+.PP
 .B struct lconv *localeconv(void);
 .fi
 .SH DESCRIPTION
@@ -47,13 +49,38 @@ Programs may also use the functions
 and
 .BR strfmon (3),
 which behave according to the actual locale in use.
-.SH "CONFORMING TO"
+.SH RETURN VALUE
+The
+.BR localeconv ()
+function returns a pointer to a filled in
+.IR "struct lconv" .
+This structure may be (in glibc,
+.IR is )
+statically allocated, and may be overwritten by subsequent calls.
+According to POSIX,
+the caller should not modify the contents of this structure.
+The
+.BR localeconv ()
+function always succeeds.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface      Attribute       Value
+T{
+.BR localeconv ()
+T}     Thread safety   MT-Unsafe race:localeconv locale
+.TE
+.SH CONFORMING TO
 C89, C99.
 .SH BUGS
 The
-.BR printf ()
+.BR printf (3)
 family of functions may or may not honor the current locale.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR locale (1),
 .BR localedef (1),
 .BR isalpha (3),