Added #define _BSD_SOURCE to prototype

This commit is contained in:
Michael Kerrisk 2005-06-23 13:50:48 +00:00
parent fefaf5f952
commit 08f75afe48
1 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@
.Nm getloadavg
.Nd get system load averages
.Sh SYNOPSIS
.Fd #define _BSD_SOURCE
.Fd #include <stdlib.h>
.Ft int
.Fn getloadavg "double loadavg[]" "int nelem"
@ -59,4 +60,4 @@ The
.Fn getloadavg
function appeared in
.Bx 4.3 Reno .
.\" mdoc seems to have a bug - there must be no newline here
.\" mdoc seems to have a bug - there must be no newline here