Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

System Functions (u) ulimit(2)
ERRORS
If any of the following conditions occurs, the ulimit() function sets errno to the value that
corresponds to the condition.
[EINVAL] One of the following conditions exists:
The value specified for the cmd parameter is not valid.
The value specified for the second parameter is too large.
[EPERM] The process does not have the appropriate privileges to perform the requested
operation.
RELATED INFORMATION
Functions: creat(2), open(2), write(2).
STANDARDS CONFORMANCE
The following are HP extensions to the XPG4 Version 2 specification:
The error [EINVAL] is returned when the second parameter is too large.
527186-023 Hewlett-Packard Company 93