caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Sys.signal and an "Invalid argument" exception
@ 2005-09-20 15:25 Paul Argentoff
  2005-09-20 16:33 ` [Caml-list] " John Carr
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Argentoff @ 2005-09-20 15:25 UTC (permalink / raw)
  To: ocaml

Hello, world.

I'm writing a program in OCaml under FreeBSD (5.4-RELEASE). It appears that 
this text causes the program to raise an "Invalid argument" exception:

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

The same effect takes place when I try to catch sigstop. Is this bug or 
feature? If latter, why it's not documented? I mean that both signals are 
present in FreeBSD and their numbers are valid, but the Documentation sais 
"If the signal number is invalid (or not available on your system), an 
Invalid_argument exception is raised."

-- 
Yours truly, WBR, Paul Argentoff.
Jabber:	paul@jabber.rtelekom.ru
RIPE:	PA1291-RIPE


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-20 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-20 15:25 Sys.signal and an "Invalid argument" exception Paul Argentoff
2005-09-20 16:33 ` [Caml-list] " John Carr
2005-09-20 17:52   ` Damien Bobillot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).