aboutsummaryrefslogtreecommitdiff
path: root/libiberty/sigsetmask.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-09-26 18:45:50 +0000
committerDJ Delorie <dj@redhat.com>2001-09-26 18:45:50 +0000
commit39423523167c47f72822dbb9eb3ab4a0dfeafe68 (patch)
treeb437d1ed0d3cb7e6a0a67e5dd30ef19abbedb95e /libiberty/sigsetmask.c
parent4e6667ac4f987fecbcf576513c70485a4718712e (diff)
downloadgdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.zip
gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.gz
gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/sigsetmask.c')
-rw-r--r--libiberty/sigsetmask.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/libiberty/sigsetmask.c b/libiberty/sigsetmask.c
index db6408d..f705fbb 100644
--- a/libiberty/sigsetmask.c
+++ b/libiberty/sigsetmask.c
@@ -3,8 +3,17 @@
Contributed by Cygnus Support.
This file is in the public doamin. */
-/* Set the current signal mask to the set provided, and return the
- previous value */
+/*
+
+@deftypefn Supplemental int sigsetmask (int @var{set})
+
+Sets the signal mask to the one provided in @var{set} and returns
+the old mask (which, for libiberty's implementation, will always
+be the value @code{1}).
+
+@end deftypefn
+
+*/
#define _POSIX_SOURCE
#include <ansidecl.h>