mirror of https://github.com/mkerrisk/man-pages
Add _XOPEN_SOURCE to prototype.
This commit is contained in:
parent
4e319d85b4
commit
ecf19f0cce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue