cleanup, docs
This commit is contained in:
@@ -7,17 +7,16 @@ return value : signal name such as `SIGSEGV`, or an empty string when unknown
|
||||
|
||||
:see
|
||||
>runtime
|
||||
capture_backtrace_string
|
||||
backtrace_frames_string
|
||||
backtrace_capture
|
||||
backtrace_get_frames
|
||||
|
||||
:content
|
||||
Returns a readable name for a POSIX signal number.
|
||||
|
||||
Example:
|
||||
|
||||
```uce
|
||||
String name = signal_name(11);
|
||||
// name == "SIGSEGV"
|
||||
```
|
||||
|
||||
This is mostly useful in diagnostics and error reporting code.
|
||||
|
||||
:example
|
||||
print("signal_name example\n");
|
||||
|
||||
Reference in New Issue
Block a user