MPE/iX Shell and Utilities Reference Manual, Vol 1

ls(1) MPE/iX Shell and Utilities ls(1)
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
1 Failure due to any of the following:
— out of memory
— inability to find a file’s information
— too many directories
— file/directory not found
2 Failure due to an invalid command line option.
Messages
Message: cannot allocate memory for sorting
Cause: There were not enough system resources available for ls to sort its output.
Action: Free up more system resources or use option and path names on the command
that will produce less output.
Message: File or directory "pathname" is not found
Cause: You specified a pathname that does not exist.
Action: Check to make sure that you did not omit or misspell any components of path-
name.
Message: insufficient memory
Cause: There were not enough free system resources to perform the specified operation.
Action: Free up more resources.
Message: strcoll error, cannot malloc space.
Cause: There are not enough free system resources to allocate string space.
Action: Free up more resources.
Message: pathname: system error
Cause: See syserror(3).
Action: See syserror(3).
Message: too many directory entries in "pathname"
Cause: This message only appears when ls runs out of dynamically allocated system
resources.
Action: Free up more system resources.
Message: Unknown option "–option"
Cause: You specified an option that is not valid for ls.
Action: Check the DESCRIPTION section for a list of valid ls options.
1-302 Commands and Utilities