Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

errno(2)

errinfo(2)

trapno(2)

ERR(1)

Series 500 Only

NAME

err − report error information on last failure

SYNOPSIS

err

Remarks:

Err is implemented on the Series 500 only. 

DESCRIPTION

Err produces error information on the standard output for the last command which failed.  The errno, errinfo, and octal trapno values are listed. 

Error information on the last child process which reported a failure is inherited across a fork and cleared by exec. The error values are also passed back from child to parent to grandparent as long as no errors were detected in the intermediate parent. Intervening commands which are executed successfully have no effect on the saved error information. If a command thinks it successfully completed, and returns an exit status of zero, no error information will be returned. 

In general, the values reported are for a kernel intrinsic which failed, although values of errno or errinfo which are set by libraries or commands will also be reported. 

SEE ALSO

errno(2), errinfo(2), trapno(2). 

WARNING

This command may change in future releases of HP-UX.  Err is intended for diagnostic purposes only. 

BUGS

Information on a real error can be masked by "normal" errors caused by library routines or commands.  For example, the library routine isatty will generate the error ENOTTY during normal operation. 

Hewlett-Packard Company  —  April 12, 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026