.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
+.\" %%%LICENSE_START(BSD_3_CLAUSE_UCB)
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
+.\" %%%LICENSE_END
.\"
.\" @(#)getloadavg.3 8.1 (Berkeley) 6/4/93
.\"
.\" 2007-12-08, mtk, Converted from mdoc to man macros
.\"
-.TH GETLOADAVG 3 2007-12-08 "Linux" "Linux Programmer's Manual"
+.TH GETLOADAVG 3 2014-04-01 "Linux" "Linux Programmer's Manual"
.SH NAME
getloadavg \- get system load averages
.SH SYNOPSIS
.nf
-.B #define _BSD_SOURCE
+.BR "#define _BSD_SOURCE" " /* See feature_test_macros(7) */"
.B #include <stdlib.h>
.sp
.BI "int getloadavg(double " loadavg[] ", int " nelem );
.\" 4.3BSD Reno .
.SH VERSIONS
This function is available in glibc since version 2.2.
-.SH "CONFORMING TO"
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR getloadavg ()
+function is thread-safe.
+.SH CONFORMING TO
Not in POSIX.1-2001.
Present on the BSDs and Solaris.
.\" mdoc seems to have a bug - there must be no newline here
.SH SEE ALSO
.BR uptime (1),
-.BR proc (5),
-.BR feature_test_macros (7)
+.BR proc (5)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.