diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index 0247b4be3..ea92a1aad 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -60,7 +60,7 @@ .\" 2005-07-28, mtk, Added descriptions of RLIMIT_NICE and RLIMIT_RTPRIO .\" 2008-05-07, mtk / Peter Zijlstra, Added description of RLIMIT_RTTIME .\" -.TH GETRLIMIT 2 2008-08-26 "Linux" "Linux Programmer's Manual" +.TH GETRLIMIT 2 2008-10-06 "Linux" "Linux Programmer's Manual" .SH NAME getrlimit, setrlimit \- get/set resource limits .SH SYNOPSIS @@ -278,6 +278,9 @@ Attempts etc.) to exceed this limit yield the error .BR EMFILE . +(Historically, this limit was named +.B RLIMIT_OFILE +on BSD.) .TP .B RLIMIT_NPROC The maximum number of processes (or, more precisely on Linux, threads) @@ -352,10 +355,6 @@ Upon reaching this limit, a signal is generated. To handle this signal, a process must employ an alternate signal stack .RB ( sigaltstack (2)). -.PP -.B RLIMIT_OFILE -is the BSD name for -.BR RLIMIT_NOFILE . .SH "RETURN VALUE" On success, zero is returned. On error, \-1 is returned, and