]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Add _XOPEN_SOURCE to prototype.
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 13 Oct 2006 11:21:08 +0000 (11:21 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 13 Oct 2006 11:21:08 +0000 (11:21 +0000)
man3/wcwidth.3

index bb964ff83a589e3fd6d269f867de2e0b21347735..649861d8b742185600d756a054b749c9ad9ce009 100644 (file)
@@ -15,6 +15,7 @@
 wcwidth \- determine columns needed for a wide character
 .SH SYNOPSIS
 .nf
+.B #define _XOPEN_SOURCE
 .B #include <wchar.h>
 .sp
 .BI "int wcwidth(wchar_t " c );
@@ -26,7 +27,7 @@ is at least 0. If \fIc\fP is L'\\0', the value is 0. Otherwise \-1 is returned.
 .SH "RETURN VALUE"
 The \fBwcwidth\fP() function returns the number of column positions for \fIc\fP.
 .SH "CONFORMING TO"
-C99.
+POSIX.1-2001.
 
 Note that glibc before 2.2.5 used the prototype
 .br