[Bug 281828] gets_s(3) manpage needs to mention about __STDC_WANT_LIB_EXT1__

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 Dec 2024 00:20:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281828

--- Comment #6 from Graham Percival <gperciva@tarsnap.com> ---
@emaste:
I based my patch on the man page for qsort_s (3); seen in
    lib/libc/stdlib/qsort.3
or
    https://reviews.freebsd.org/D23174

My interpretation of that page is "everything under the #define needs it", so I
did the same thing for gets_s().

@jhb:
I did wonder about writing something like "you only need __STD_WANT_LIB_EXT1__
if you're using c99 or added some special -D defines".  But I couldn't see any
such language in qsort(3) or set_constraint_handler_s(3), so I left it out.

-- 
You are receiving this mail because:
You are on the CC list for the bug.