OSDN Git Service

(split) LDP man-pages の original/ を v3.29 に更新。
[linuxjm/LDP_man-pages.git] / original / man2 / getrlimit.2
index 35c9eed..b9c6063 100644 (file)
@@ -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-10-06 "Linux" "Linux Programmer's Manual"
+.TH GETRLIMIT 2 2010-09-26 "Linux" "Linux Programmer's Manual"
 .SH NAME
 getrlimit, setrlimit \- get/set resource limits
 .SH SYNOPSIS
@@ -310,7 +310,8 @@ and
 .BR sched_setparam (2).
 .TP
 .BR RLIMIT_RTTIME " (Since Linux 2.6.25)"
-Specifies a limit on the amount of CPU time that a process scheduled
+Specifies a limit (in microseconds)
+on the amount of CPU time that a process scheduled
 under a real-time scheduling policy may consume without making a blocking
 system call.
 For the purpose of this limit,
@@ -427,6 +428,15 @@ in
 .BR csh (1)).
 The shell's resource limits are inherited by the processes that
 it creates to execute commands.
+
+Ancient systems provided a
+.BR vlimit ()
+function with a similar purpose to
+.BR setrlimit ().
+For backward compatibility, glibc also provides
+.BR vlimit ().
+All new applications should be written using
+.BR setrlimit ().
 .SH BUGS
 In older Linux kernels, the
 .B SIGXCPU