diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2006-10-13 11:21:08 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2006-10-13 11:21:08 +0000 |
| commit | ecf19f0cce2669c37b428de9c83012aff0bdbb63 (patch) | |
| tree | 9b9dcc460e5786d2806716d1cc4f00d02fb1e3ef /man3/wcwidth.3 | |
| parent | 4e319d85b4543f716b3ea7688d08a63a4dbdfa9f (diff) | |
| download | man-pages-ecf19f0cce2669c37b428de9c83012aff0bdbb63.tar.gz | |
Add _XOPEN_SOURCE to prototype.
Diffstat (limited to 'man3/wcwidth.3')
| -rw-r--r-- | man3/wcwidth.3 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man3/wcwidth.3 b/man3/wcwidth.3 index bb964ff83a..649861d8b7 100644 --- a/man3/wcwidth.3 +++ b/man3/wcwidth.3 @@ -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 |
