ulimit man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

ulimit(3)							     ulimit(3)

Name
       ulimit - get and set user limits

Syntax
       long ulimit (cmd, newlimit)
       int cmd;
       long newlimit;

Description
       This  function provides control over process limits.  An explanation of
       the cmd values follow.

       Value   Explanation

       1       Get the process's file size limit.  The limit is	 in  units  of
	       512-byte	 blocks and is inherited by child processes.  Files of
	       any size can be read.

       2       Set the process's file size limit to  the  value	 of  newlimit.
	       Any process can decrease this limit, but only a process with an
	       effective user ID of superuser can  increase  the  limit.   The
	       system call fails and the limit remains unchanged, if a process
	       with an effective user ID  other	 than  superuser  attempts  to
	       increase its file size limit.

       3       Get the maximum possible break value.  For further information,
	       see

Return Values
       Upon successful completion, a nonnegative value	is  returned.	Other‐
       wise,  a	 value	of  -1	is  returned, and errno is set to indicate the
       error.

Diagnostics
       [EINVAL]	      Bad value for cmd.

       [EPERM]	      The effective user ID of	the  calling  process  is  not
		      superuser.

See Also
       brk(2), write(2)

								     ulimit(3)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net