Error Return (was Re: (char *)(-1))
Peter da Silva
peter at ficc.uu.net
Mon Aug 7 23:36:29 AEST 1989
In article <26998 at agate.BERKELEY.EDU>, mwm at eris.berkeley.edu (Mike (I'll think of something yet) Meyer) writes:
> #define errval(x) (errno = 0, (x), errno)
This is how you get programs that spit out messages like:
"peter at ficc.uu.net: Not a tty"
I'll leave the whys and wherefores as an excersize for the reader, or you
could just look it up in your comp.lang.c archives around February.
--
Peter da Silva, Xenix Support, Ferranti International Controls Corporation.
Business: peter at ficc.uu.net, +1 713 274 5180. | "The sentence I am now
Personal: peter at sugar.hackercorp.com. `-_-' | writing is the sentence
Quote: Have you hugged your wolf today? 'U` | you are now reading"
More information about the Comp.std.c
mailing list