Re: [PATCH]exit.c: support larger exit code

From: Alan Cox
Date: Mon Aug 09 2010 - 06:43:17 EST


> There is probably a deeper reason as errno.h/errno-base.h all seem to be
> one byte return codes too. I'm starting to ponder if that top three
> bytes are meant to carry some other information?

man 2 wait

and also note that int was 16bits in the times when Unix wait/exit
behaviour was formulated.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/