OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / bsd_signal.3
index fd94bbb..b898f05 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (c) 2007 Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -19,8 +20,9 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
-.TH BSD_SIGNAL 3 2009-03-15 "" "Linux Programmer's Manual"
+.TH BSD_SIGNAL 3 2013-10-22 "" "Linux Programmer's Manual"
 .SH NAME
 bsd_signal \- signal handling with BSD semantics
 .SH SYNOPSIS
@@ -49,7 +51,7 @@ then the system call is automatically restarted.
 A portable application cannot rely on
 .BR signal (2)
 to provide these guarantees.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 The
 .BR bsd_signal ()
 function returns the previous value of the signal handler, or
@@ -58,7 +60,12 @@ on error.
 .SH ERRORS
 As for
 .BR signal (2).
-.SH "CONFORMING TO"
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR bsd_signal ()
+function is thread-safe.
+.SH CONFORMING TO
 4.2BSD, POSIX.1-2001.
 POSIX.1-2008 removes the specification of
 .BR bsd_signal (),
@@ -86,11 +93,20 @@ for details.
 The use of
 .I sighandler_t
 is a GNU extension;
-this type is only defined if the
+this type is defined only if the
 .B _GNU_SOURCE
 feature test macro is defined.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR sigaction (2),
 .BR signal (2),
 .BR sysv_signal (3),
 .BR signal (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.