summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/libiberty/sigsetmask.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/binutils/libiberty/sigsetmask.c')
-rw-r--r--contrib/binutils/libiberty/sigsetmask.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/contrib/binutils/libiberty/sigsetmask.c b/contrib/binutils/libiberty/sigsetmask.c
index db6408d..f705fbb 100644
--- a/contrib/binutils/libiberty/sigsetmask.c
+++ b/contrib/binutils/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>
OpenPOWER on IntegriCloud