Date: Sat, 07 Dec 2024 00:20:24 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 281828] gets_s(3) manpage needs to mention about __STDC_WANT_LIB_EXT1__ Message-ID: <bug-281828-227-mr8ilxgUS4@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-281828-227@https.bugs.freebsd.org/bugzilla/> References: <bug-281828-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281828 --- 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_EXT= 1__ 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281828-227-mr8ilxgUS4>