ULIMIT(2) HP Integral PC ULIMIT(2) ULIMIT(2) HP Integral PC ULIMIT(2) ULIMIT(2) HP Integral PC ULIMIT(2) ULIMIT(2) HP Integral PC ULIMIT(2) NAME NAME NAME NAME ulimit - get and set user limits SYNOPSIS SYNOPSIS SYNOPSIS SYNOPSIS long ulimit (cmd, newlimit) int cmd; long newlimit; DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION This function provides for control over process limits. The cmd values available are: 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 may decrease this limit, and any process may increase this limit (within fixed system bounds). 3 Get the maximum possible break value. See brk (2). RETURN VALUE RETURN VALUE RETURN VALUE RETURN VALUE Upon successful completion, a non-negative value is returned. Otherwise, a value of -1 is returned and errno is set to indicate the error. SEE ALSO SEE ALSO SEE ALSO SEE ALSO brk(2), write(2). Hewlett-Packard - 1 - (printed 12/12/84)