docs/53488: Mistake in the strmode(3) manual page
Andrey Simonenko
simon at comsys.ntu-kpi.kiev.ua
Thu Jun 19 11:10:13 UTC 2003
>Number: 53488
>Category: docs
>Synopsis: Mistake in the strmode(3) manual page
>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 Jun 19 04:10:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Andrey Simonenko
>Release: FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
FreeBSD 4.8-STABLE and FreeBSD 5.1-RELEASE
>Description:
There is a mistake in the ``RETURN VALUES'' section
in the strmode(3) manual page:
RETURN VALUES
The strmode() function always returns 0.
But strmode(3) is declared as:
void
strmode(mode_t mode, char *bp);
so, it returns no value.
>How-To-Repeat:
Simply remove the ``RETURN VALUES'' section.
>Fix:
--- strmode.3.orig Fri Dec 14 20:33:59 2001
+++ strmode.3 Thu Jun 19 12:16:43 2003
@@ -135,11 +135,6 @@
The last character is a plus sign ``+'' if any there are any alternate
or additional access control methods associated with the inode, otherwise
it will be a space.
-.Sh RETURN VALUES
-The
-.Fn strmode
-function
-always returns 0.
.Sh SEE ALSO
.Xr chmod 1 ,
.Xr find 1 ,
>Release-Note:
>Audit-Trail:
>Unformatted:
To: FreeBSD-gnats-submit at freebsd.org
From: Andrey Simonenko <simon at comsys.ntu-kpi.kiev.ua>
Reply-To: Andrey Simonenko <simon at comsys.ntu-kpi.kiev.ua>
Cc:
X-send-pr-version: 3.113
X-GNATS-Notify:
More information about the freebsd-doc
mailing list