Skip to content

Commit 106dcc2

Browse files
committed
Add strsignal(3) to unix
This does not add sys_siglist because the docs specify that the function should be used instead, whenever possible.
1 parent 8764410 commit 106dcc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ extern "C" {
538538
pub fn strerror(n: c_int) -> *mut c_char;
539539
pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char;
540540
pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t;
541+
pub fn strsignal(sig: c_int) -> *mut c_char;
541542
pub fn wcslen(buf: *const wchar_t) -> size_t;
542543
pub fn wcstombs(
543544
dest: *mut c_char,

0 commit comments

Comments
 (0)