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

Tony Finch dot@REDACTED
Wed Jan 2 18:05:00 CET 2008


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

Tony.
-- 
f.a.n.finch  <dot@REDACTED>  http://dotat.at/
NORTH FITZROY SOLE: SOUTHEAST BECOMING CYCLONIC 5 TO 7, OCCASIONALLY GALE 8 IN
SOLE. VERY ROUGH OR HIGH. RAIN OR SHOWERS. MODERATE OR GOOD, OCCASIONALLY
POOR.



More information about the erlang-patches mailing list