]> git.saurik.com Git - apple/libc.git/blobdiff - gen/FreeBSD/psignal.3
Libc-825.24.tar.gz
[apple/libc.git] / gen / FreeBSD / psignal.3
index c59d79ef9853ab1d9632f658ba78310987a1c008..84976af89d1f1c7ab7540af0a7fdb1cb098b042d 100644 (file)
@@ -98,6 +98,19 @@ contains a count of the strings in
 .Va sys_siglist
 and
 .Va sys_signame .
+.Sh RETURN VALUES
+.Fn strsignal
+a pointer to the desired message or a NULL value indicating an error.  This
+string is not to be freed by the caller.  Beginning with Mac OSX 10.7, this
+string is unique to each thread.
+.Sh ERRORS
+.Fn strsignal
+will fail and no additional memory will be allocated if
+one of the following are true:
+.Bl -tag -width Er
+.It Bq Er ENOMEM
+There was insufficient memory to allocate storage space for the return value in the running thread.
+.El
 .Sh SEE ALSO
 .Xr sigaction 2 ,
 .Xr perror 3 ,