[MLton-user] signal handlers

Wesley W. Terpstra wesley at terpstra.ca
Sat Dec 1 12:46:02 PST 2007


On Dec 1, 2007, at 9:29 PM, Dave Herman wrote:
> I couldn't figure out from the MLtonSignal page how to catch signals  
> like SIGWINCH and SIGCONT. Is this possible without resorting to the  
> FFI?

Posix.Signal.cont exists, but I don't think SIGWINCH is readily  
available. You can use Posix.Signal.fromWord, but you'd have to know  
it's numeric value.




More information about the MLton-user mailing list