From owner-freebsd-doc  Thu Apr 23 04:20:05 1998
Return-Path: <owner-freebsd-doc@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id EAA19080
          for freebsd-doc-outgoing; Thu, 23 Apr 1998 04:20:05 -0700 (PDT)
          (envelope-from owner-freebsd-doc@FreeBSD.ORG)
Received: (from gnats@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id EAA19054;
          Thu, 23 Apr 1998 04:20:02 -0700 (PDT)
          (envelope-from gnats)
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA18704
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Apr 1998 04:12:36 -0700 (PDT)
          (envelope-from koshy@india.hp.com)
Received: from postbox.india.hp.com (postbox.india.hp.com [15.10.45.1])
	by palrel3.hp.com (8.8.5/8.8.5tis) with ESMTP id EAA10679
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Apr 1998 04:12:31 -0700 (PDT)
Received: from localhost by postbox.india.hp.com with ESMTP
	(1.39.111.2/16.2) id AA178309777; Thu, 23 Apr 1998 16:39:37 +0530
Message-Id: <199804231112.EAA10679@palrel3.hp.com>
Date: Thu, 23 Apr 1998 16:39:37 +0530
From: A Joseph Koshy <koshy@india.hp.com>
Reply-To: koshy@india.hp.com
To: FreeBSD-gnats-submit@FreeBSD.ORG
X-Send-Pr-Version: 3.2
Subject: docs/6395: Manual page for `sigprocmask(2)' refers to `sigmask'
Sender: owner-freebsd-doc@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


>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