From owner-freebsd-doc Sun Sep 9 12:20: 6 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CD13137B407 for ; Sun, 9 Sep 2001 12:20:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f89JK0Y03251; Sun, 9 Sep 2001 12:20:00 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4341B37B406 for ; Sun, 9 Sep 2001 12:10:49 -0700 (PDT) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f89JAnG02417; Sun, 9 Sep 2001 12:10:49 -0700 (PDT) (envelope-from nobody) Message-Id: <200109091910.f89JAnG02417@freefall.freebsd.org> Date: Sun, 9 Sep 2001 12:10:49 -0700 (PDT) From: Steve Watt To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: docs/30463: shm_open man page missing Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30463 >Category: docs >Synopsis: shm_open man page missing >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: Sun Sep 09 12:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Steve Watt >Release: 4.3-STABLE 2001-04-25 >Organization: >Environment: FreeBSD wattres.Watt.COM 4.3-STABLE FreeBSD 4.3-STABLE #9: Sun May 20 13:25:38 PDT 2001 root@wattres.Watt.COM:/old/usr/obj/usr/src/sys/WATTRES i386 >Description: The manual page for shm_open does not state that is a required header. You need it to get the O_* flags for the flags argument. Hmm... Does need to be there (and on the open(3)) page to get the S_* flags for mode? I think it's there in the POSIX spec, but I don't have a copy at hand any more. >How-To-Repeat: man shm_open >Fix: --- shm_open.3.orig Sun Sep 9 12:09:18 2001 +++ shm_open.3 Sun Sep 9 12:10:15 2001 @@ -26,7 +26,7 @@ .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/gen/shm_open.3,v 1.3.2.3 2001/03/06 16:45:54 ru Exp $ +.\" $FreeBSD: src/lib/libc/gen/shm_open.3,v 1.3.2.3+ 2001/09/09 17:09:54 steve Exp $ .\" .Dd March 24, 2000 .Dt SHM_OPEN 3 @@ -39,6 +39,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS +.Fd #include .Fd #include .Fd #include .Ft int >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message