[erlang-patches] Patch for erl shell (unix/ttsl_drv.c) SIGWINCH handling (R12B-1 31-Dec-2007)

Florian Weimer fw@REDACTED
Thu Jan 3 11:10:30 CET 2008


* Tony Finch:

> On Wed, 2 Jan 2008, Mikael Pettersson wrote:
>>
>> Calling ioctl() from a signal handler should work on any
>> proper *NIX, including Linux/Solaris/*BSD/AIX.
>
> No, it isn't listed as async signal safe by POSIX. See the table near the
> bottom of
> http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html

POSIX only describes the STREAMS ioctl, which is not implemented by
Linux (and probably not by the BSDs, either).



More information about the erlang-patches mailing list