Subject: Re: [ast-developers] error() codes for |4 and |3 -------- > Glenn, I am looking at code from some of the AST utilities but need > help to understand some thing: > What is the difference between the |4 and |3 in the these 2 calls to error()? > error(ERROR_USAGE|4, "%s", optusage(NiL)); > error(ERROR_SYSTEM|3, "out of space [cmd]"); > > Olga >
The exit status is the number-2. ERROR_USAGE means that this is a usage error. ERROR_SYSTEM means that this is a system call error and errno will be displayed as a string along with the message. David Korn [email protected] _______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
