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

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 06 Dec 2024 18:21:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281828

--- Comment #5 from Ed Maste <emaste@freebsd.org> ---
The spacing is maybe not completely clear about to what the #define applies,
but perhaps this is consistent with all cases of this.

     #include <stdio.h>

     char *
     fgets(char * restrict str, int size, FILE * restrict stream);

     #define __STDC_WANT_LIB_EXT1__ 1

     char *
     gets_s(char *str, rsize_t size);

-- 
You are receiving this mail because:
You are the assignee for the bug.