This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Return codes over 1 byte
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 09 Jul 2015 18:42:52 -0500
- Subject: Re: Return codes over 1 byte
- Authentication-results: sourceware.org; auth=none
- References: <CAMKht8gCOXF+nObhC69_LyU+TOsbWnnK8PCt-ghgWT=40hmMaw at mail dot gmail dot com>
On Thu, 2015-07-09 at 19:30 -0400, Michael DePaulo wrote:
> mark06 mentioned this on IRC today and then left the channel about 1 hour later:
>
> <mark06> has anyone ever discussed exit codes above one byte? they are
> valid on modern windows, but cygwin's bash will mess them
>
> I was curious, so I googled it (I could not find an answer) and then
> tried it out. I can confirm the what he said.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/exit.html
https://www.gnu.org/software/libc/manual/html_node/Exit-Status.html
--
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple