X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/1f2f436a38f7ae2d39a943ad2898d8fed4ed2e58..ad3c9f2af814c84582fdd1649e49ec4f68572c5a:/gen/FreeBSD/psignal.3?ds=sidebyside diff --git a/gen/FreeBSD/psignal.3 b/gen/FreeBSD/psignal.3 index c59d79e..84976af 100644 --- a/gen/FreeBSD/psignal.3 +++ b/gen/FreeBSD/psignal.3 @@ -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 ,