Module Name:    src
Committed By:   jruoho
Date:           Fri Apr 30 05:09:23 UTC 2010

Modified Files:
        src/lib/libc/gen: ulimit.3

Log Message:
Deprecated in POSIX (rev. 2008).


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/gen/ulimit.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/gen/ulimit.3
diff -u src/lib/libc/gen/ulimit.3:1.8 src/lib/libc/gen/ulimit.3:1.9
--- src/lib/libc/gen/ulimit.3:1.8	Wed Apr 30 13:10:50 2008
+++ src/lib/libc/gen/ulimit.3	Fri Apr 30 05:09:23 2010
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ulimit.3,v 1.8 2008/04/30 13:10:50 martin Exp $
+.\"	$NetBSD: ulimit.3,v 1.9 2010/04/30 05:09:23 jruoho Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 13, 1999
+.Dd April 30, 2010
 .Dt ULIMIT 3
 .Os
 .Sh NAME
@@ -68,14 +68,6 @@
 .Fn ulimit
 function will not change the setting of
 .Va errno .
-.Pp
-The
-.Fn ulimit
-function is an obsolete interface; applications are encouraged to use
-.Xr getrlimit 2
-and
-.Xr setrlimit 2
-instead.
 .Sh RETURN VALUES
 If successful, the
 .Fn ulimit
@@ -109,4 +101,19 @@
 The
 .Fn ulimit
 function conforms to
-.St -xsh5 .
+.St -xsh5
+and
+.St -p1003.1-2001 .
+It was marked as obsolete in the
+.St -p1003.1-2008
+revision, which recommended the use of
+.Xr getrlimit 2
+and
+.Xr setrlimit 2
+instead, noting that because
+.Fn ulimit
+uses the type
+.Vt long
+rather than
+.Vt rlim_t ,
+it may not be sufficient for file sizes on many current systems.

Reply via email to