1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-01 04:19:55 +00:00

Update docstring.

This commit is contained in:
Calvin Rose 2023-09-03 10:18:37 -05:00
parent e69954af2f
commit b95dfd4bdf

View File

@ -853,7 +853,8 @@ static void janet_signal_trampoline(int sig) {
JANET_CORE_FN(os_sigaction, JANET_CORE_FN(os_sigaction,
"(os/sigaction which &opt handler interrupt-interpreter)", "(os/sigaction which &opt handler interrupt-interpreter)",
"Add a signal handler for a given action. Use nil for the `handler` argument to remove a signal handler.") { "Add a signal handler for a given action. Use nil for the `handler` argument to remove a signal handler. "
"All signal handlers are the same as supported by `os/proc-kill`.") {
janet_sandbox_assert(JANET_SANDBOX_SIGNAL); janet_sandbox_assert(JANET_SANDBOX_SIGNAL);
janet_arity(argc, 1, 3); janet_arity(argc, 1, 3);
#ifdef JANET_WINDOWS #ifdef JANET_WINDOWS