mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
fgets.3: document gets_s() __STDC_WANT_LIB_EXT1__
This matches the man page for qsort_s(). PR: 281828 Signed-off-by: Graham Percival <gperciva@tarsnap.com> Sponsored by: Tarsnap Backup Inc. (cherry picked from commit d0a3fd34a05794bc5cbf48709001a78e9f85169a)
This commit is contained in:
parent
66cb373c8f
commit
334e641d38
1 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
|||
.\"
|
||||
.\" @(#)fgets.3 8.1 (Berkeley) 6/4/93
|
||||
.\"
|
||||
.Dd April 2, 2022
|
||||
.Dd December 6, 2024
|
||||
.Dt FGETS 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
|
@ -44,6 +44,7 @@
|
|||
.In stdio.h
|
||||
.Ft char *
|
||||
.Fn fgets "char * restrict str" "int size" "FILE * restrict stream"
|
||||
.Fd #define __STDC_WANT_LIB_EXT1__ 1
|
||||
.Ft char *
|
||||
.Fn gets_s "char *str" "rsize_t size"
|
||||
.Sh DESCRIPTION
|
||||
|
|
|
|||
Loading…
Reference in a new issue