[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Port functions/shell to Solaris 10
From: |
Andreas Schwab |
Subject: |
Re: [PATCH] Port functions/shell to Solaris 10 |
Date: |
Mon, 14 Oct 2019 10:09:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
On Okt 11 2019, Paul Eggert <address@hidden> wrote:
> On 10/10/19 3:28 PM, Paul Smith wrote:
>> Perhaps Perl on Solaris does some magic
>> to convert this non-standard behavior into standard behavior.
>
> Yes, I think it's something along those lines. POSIX doesn't specify how
> signal numbers and exit statuses are shoehorned into the 'int' status
> updated by waitpid; apps are supposed to use WEXITSTATUS etc. to retrieve
> the info from that 'int'. I think that Perl tries to standardize this so
> that Perl apps just one way to shoehorn.
The format is documented in perlvar(1).
Andreas.
--
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."