Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Dec 2024 18:21:25 +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-7fydZA5spI@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 #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);

--=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-7fydZA5spI>