diff options
Diffstat (limited to 'man3/getloadavg.3')
| -rw-r--r-- | man3/getloadavg.3 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/man3/getloadavg.3 b/man3/getloadavg.3 index 6f2304052c..8ef3c2e5dc 100644 --- a/man3/getloadavg.3 +++ b/man3/getloadavg.3 @@ -36,11 +36,23 @@ getloadavg \- get system load averages .SH SYNOPSIS .nf -.BR "#define _BSD_SOURCE" " /* See feature_test_macros(7) */" .B #include <stdlib.h> .sp .BI "int getloadavg(double " loadavg[] ", int " nelem ); .fi +.sp +.in -4n +Feature Test Macro Requirements for glibc (see +.BR feature_test_macros (7)): +.in +.sp +.BR getloadavg (): +.nf + Since glibc 2.19: + _DEFAULT_SOURCE + In glibc up to and including 2.19: + _BSD_SOURCE +.fi .SH DESCRIPTION The .BR getloadavg () |
