about summary refs log tree commit diff
path: root/manual/resource.texi
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-02-11 14:12:47 -0800
committerRoland McGrath <roland@hack.frob.com>2013-02-11 14:16:43 -0800
commit8ded91fb377ad48c66e8b44929af7214f40f3557 (patch)
tree1500db52510dba70137440de0b3635d75a8e91fa /manual/resource.texi
parentfe77fe6d5155d224edfebbccdbfbc68f62e750dc (diff)
downloadglibc-8ded91fb377ad48c66e8b44929af7214f40f3557.tar.gz
glibc-8ded91fb377ad48c66e8b44929af7214f40f3557.tar.xz
glibc-8ded91fb377ad48c66e8b44929af7214f40f3557.zip
Fix some errors in declarations in the manual.
Diffstat (limited to 'manual/resource.texi')
-rw-r--r--manual/resource.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/manual/resource.texi b/manual/resource.texi
index cb25d2440c..1ec7af29f0 100644
--- a/manual/resource.texi
+++ b/manual/resource.texi
@@ -129,9 +129,9 @@ scheduled).
 @code{vtimes} and its @code{vtimes} data structure are declared in
 @file{sys/vtimes.h}.
 @pindex sys/vtimes.h
-@comment vtimes.h
 
-@deftypefun int vtimes (struct vtimes @var{current}, struct vtimes @var{child})
+@comment sys/vtimes.h
+@deftypefun int vtimes (struct vtimes *@var{current}, struct vtimes *@var{child})
 
 @code{vtimes} reports resource usage totals for a process.
 
@@ -419,7 +419,7 @@ operand must be less than @code{RLIM_NLIMITS}.
 
 @comment sys/resource.h
 @comment BSD
-@deftypevr Constant int RLIM_INFINITY
+@deftypevr Constant rlim_t RLIM_INFINITY
 This constant stands for a value of ``infinity'' when supplied as
 the limit value in @code{setrlimit}.
 @end deftypevr
@@ -433,7 +433,7 @@ above do.  The functions above are better choices.
 
 @comment ulimit.h
 @comment BSD
-@deftypefun int ulimit (int @var{cmd}, @dots{})
+@deftypefun {long int} ulimit (int @var{cmd}, @dots{})
 
 @code{ulimit} gets the current limit or sets the current and maximum
 limit for a particular resource for the calling process according to the
@@ -893,7 +893,7 @@ It is functionally identical to @code{sched_setscheduler} with
 
 @comment sched.h
 @comment POSIX
-@deftypefun int sched_getparam (pid_t @var{pid}, const struct sched_param *@var{param})
+@deftypefun int sched_getparam (pid_t @var{pid}, struct sched_param *@var{param})
 
 This function returns a process' absolute priority.
 
@@ -922,7 +922,7 @@ There is no process with pid @var{pid} and it is not zero.
 
 @comment sched.h
 @comment POSIX
-@deftypefun int sched_get_priority_min (int *@var{policy})
+@deftypefun int sched_get_priority_min (int @var{policy})
 
 This function returns the lowest absolute priority value that is
 allowable for a process with scheduling policy @var{policy}.
@@ -942,7 +942,7 @@ to this function are:
 
 @comment sched.h
 @comment POSIX
-@deftypefun int sched_get_priority_max (int *@var{policy})
+@deftypefun int sched_get_priority_max (int @var{policy})
 
 This function returns the highest absolute priority value that is
 allowable for a process that with scheduling policy @var{policy}.