Added "#define _GNU_SOURCE" to prototype

This commit is contained in:
Michael Kerrisk 2005-09-15 12:40:42 +00:00
parent 1b6145807d
commit b8ebc9d9fe
1 changed files with 2 additions and 0 deletions

View File

@ -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 );