docs/57153: S_IRWXU missing in fstat(2) man page?

Simon Barner barner at in.tum.de
Wed Sep 24 10:50:07 UTC 2003


>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 at 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:



More information about the freebsd-doc mailing list