| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |
Arguments: signal-number
This function returns a string which is a nice (that is a meaningful and easy to interpret) name for signal-number, which must be an integer. This nice name is operating system dependent.
For example, on Solaris and Linux, (nice-signal-name
1)
returns "Hangup". On FreeBSD and macOS, the same thing
returns "Hangup: 1". It is possible the return values for an OS will
change over time because of OS changes.
If signal-number does not name a valid signal,
nil
is returned.
The function strsignal is a synonym of this function (its name corresponds to the name of the UNIX library function strsignal()). That library function does not exist on Windows but nice-signal-name and strsignal work on all platforms (using different underlying functionality on Windows).
Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |