diff options
Diffstat (limited to 'man3/getutent.3')
| -rw-r--r-- | man3/getutent.3 | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/man3/getutent.3 b/man3/getutent.3 index df7a40b174..96ecd239de 100644 --- a/man3/getutent.3 +++ b/man3/getutent.3 @@ -270,8 +270,6 @@ The above functions are not thread-safe. Glibc adds reentrant versions .sp .nf -.BR "#define _GNU_SOURCE" " /* or _SVID_SOURCE or _BSD_SOURCE; -.RB "\& see " feature_test_macros "(7) */" .B #include <utmp.h> .sp .BI "int getutent_r(struct utmp *" ubuf ", struct utmp **" ubufp ); @@ -283,6 +281,20 @@ Glibc adds reentrant versions .BI " struct utmp *" ubuf ", struct utmp **" ubufp ); .fi .sp +.in -4n +Feature Test Macro Requirements for glibc (see +.BR feature_test_macros (7)): +.in +.sp +.BR getutent_r (), +.BR getutid_r (), +.BR getutline_r (): +.nf + _GNU_SOURCE + || /* since glibc 2.19: */ _DEFAULT_SOURCE + || /* glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE +.fi +.sp These functions are GNU extensions, analogs of the functions of the same name without the _r suffix. The |
