Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2003 12:40:18 +0200 (CEST)
From:      Simon Barner <barner@in.tum.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/57153: S_IRWXU missing in fstat(2) man page?
Message-ID:  <20030924104018.3C89C3B4F5@zi025.glhnet.mhn.de>
Resent-Message-ID: <200309241050.h8OAo5sc037070@freefall.freebsd.org>

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

>Number:         57153
>Category:       docs
>Synopsis:       S_IRWXU missing in fstat(2) man page?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 24 03:50:04 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Simon Barner
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD zi025.glhnet.mhn.de 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #1: Thu Sep 4 20:49:53 CEST 2003 simon@zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386

>Description:

Shouldn't the S_IRWXU constant from /usr/include/sys/stat.h also be mentioned
in the fstat(2) man page (and possibly others)

--> this one      #define S_IRWXU 0000700                 /* RWX mask for owner */
--> already there #define S_IRUSR 0000400                 /* R for owner */
     -"-          #define S_IWUSR 0000200                 /* W for owner */
     -"-          #define S_IXUSR 0000100                 /* X for owner */

If you confirm this, I can prepare a patch.

>How-To-Repeat:

Compare /usr/include/sys/stat.h and fstat(2)

>Fix:

Add missing constants to man page.
>Release-Note:
>Audit-Trail:
>Unformatted:



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