From: Paul Argentoff <argentoff@rtelekom.ru>
To: ocaml <caml-list@inria.fr>
Subject: Sys.signal and an "Invalid argument" exception
Date: Tue, 20 Sep 2005 19:25:03 +0400 [thread overview]
Message-ID: <200509201925.04072.argentoff@rtelekom.ru> (raw)
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
next reply other threads:[~2005-09-20 15:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-20 15:25 Paul Argentoff [this message]
2005-09-20 16:33 ` [Caml-list] " John Carr
2005-09-20 17:52 ` Damien Bobillot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200509201925.04072.argentoff@rtelekom.ru \
--to=argentoff@rtelekom.ru \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox