[BACK]Return to ulimit.3 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

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

Diff for /src/lib/libc/gen/ulimit.3 between version 1.1 and 1.2

version 1.1, 1999/09/13 18:38:06 version 1.2, 1999/10/11 11:03:27
Line 73  the caller is the super-user.
Line 73  the caller is the super-user.
 If successful, the  If successful, the
 .Fn ulimit  .Fn ulimit
 function will not change the setting of  function will not change the setting of
 .Dv errno .  .Va errno .
 .Pp  .Pp
 The  The
 .Fn ulimit  .Fn ulimit
Line 90  Otherwise, it returns -1, sets
Line 90  Otherwise, it returns -1, sets
 .Va errno  .Va errno
 to indicate an error, and the limit is not changed.  to indicate an error, and the limit is not changed.
 Therefore, to detect an error condition applications should set  Therefore, to detect an error condition applications should set
 .Dv errno  .Va errno
 to 0, call  to 0, call
 .Fn ulimit ,  .Fn ulimit ,
 and check if -1 is returned and  and check if -1 is returned and
 .Dv errno  .Va errno
 is non-zero .  is non-zero.
 .Sh ERRORS  .Sh ERRORS
 The  The
 .Fn ulimit  .Fn ulimit

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb <webmaster@jp.NetBSD.org>