for n>=3 (*error_info.exit)(n-2) is called
the default for error_info.exit is the exit() system call
so |4 exits 2
|3 exits 1
On Thu, 5 May 2011 17:40:17 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= wrote:
> 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
> --
> , _ _ ,
> { \/`o;====- Olga Kryzhanovska -====;o`\/ }
> .----'-/`-/ [email protected] \-`\-'----.
> `'-..-| / http://twitter.com/fleyta \ |-..-'`
> /\/\ Solaris/BSD//C/C++ programmer /\/\
> `--` `--`
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers