Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 1998 16:39:37 +0530
From:      A Joseph Koshy <koshy@india.hp.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/6395: Manual page for `sigprocmask(2)' refers to `sigmask'
Message-ID:  <199804231112.EAA10679@palrel3.hp.com>

next in thread | raw e-mail | index | archive | help

>Number:         6395
>Category:       docs
>Synopsis:       Manual page for `sigprocmask(2)' bogusly refers to `sigmask()'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 23 04:20:01 PDT 1998
>Last-Modified:
>Originator:     Joseph Koshy
>Organization:
HPISO-B
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

2.2-STABLE post 2.2.6, as well as -CURRENT

>Description:

`sigprocmask()' man page references `sigmask()' in synopsis.

>How-To-Repeat:

man sigprocmask(2)

Note odd `sigmask()' line in synopsis.  `sigsetops(3)' is better suited
for `sigprocmask' and is already referenced from the manual page.

(`sigmask()' is useful for the older (& deprecated) `sigsetmask()' API).

>Fix:

Apply the following patch:

Index: sigprocmask.2
===================================================================
RCS file: /usr/cvs/src/lib/libc/sys/sigprocmask.2,v
retrieving revision 1.5
diff -u -r1.5 sigprocmask.2
- --- sigprocmask.2       1998/02/04 22:30:14     1.5
+++ sigprocmask.2       1997/09/04 13:14:59
@@ -41,7 +41,6 @@
 .Fd #include <signal.h>
 .Ft int
 .Fn sigprocmask "int how" "const sigset_t *set" "sigset_t *oset"
- -.Fn sigmask signum
 .Sh DESCRIPTION
 The
 .Fn sigprocmask

------- End of Forwarded Message

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804231112.EAA10679>