English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Sys.signal and an "Invalid argument" exception
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-09-20 (16:33)
From: John Carr <jfc@M...>
Subject: Re: [Caml-list] Sys.signal and an "Invalid argument" exception

> Sys.signal Sys.sigkill (Sys.Signal_handle sighandler)

Unix does not allow catching the KILL or STOP signal.

On Solaris, the sigaction() manual warns: "The sig argument
specifies the signal and can be assigned any of the signals
specified in signal(3HEAD) except SIGKILL and SIGSTOP."