]> git.saurik.com Git - apple/libc.git/blob - gen/FreeBSD/psignal.3.patch
Libc-763.12.tar.gz
[apple/libc.git] / gen / FreeBSD / psignal.3.patch
1 --- psignal.3.orig 2010-05-06 12:14:16.000000000 -0700
2 +++ psignal.3 2010-05-06 12:21:47.000000000 -0700
3 @@ -98,6 +98,19 @@ contains a count of the strings in
4 .Va sys_siglist
5 and
6 .Va sys_signame .
7 +.Sh RETURN VALUES
8 +.Fn strsignal
9 +a pointer to the desired message or a NULL value indicating an error. This
10 +string is not to be freed by the caller. Beginning with Mac OSX 10.7, this
11 +string is unique to each thread.
12 +.Sh ERRORS
13 +.Fn strsignal
14 +will fail and no additional memory will be allocated if
15 +one of the following are true:
16 +.Bl -tag -width Er
17 +.It Bq Er ENOMEM
18 +There was insufficient memory to allocate storage space for the return value in the running thread.
19 +.El
20 .Sh SEE ALSO
21 .Xr sigaction 2 ,
22 .Xr perror 3 ,