mirror of https://github.com/mkerrisk/man-pages
Added "#define _GNU_SOURCE" to prototype
This commit is contained in:
parent
1b6145807d
commit
b8ebc9d9fe
|
@ -13,6 +13,8 @@
|
|||
strnlen \- determine the length of a fixed-size string
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #define _GNU_SOURCE
|
||||
.sp
|
||||
.B #include <string.h>
|
||||
.sp
|
||||
.BI "size_t strnlen(const char *" s ", size_t " maxlen );
|
||||
|
|
Loading…
Reference in New Issue