Date: Thu, 19 Jun 2003 14:04:44 +0300 From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/53488: Mistake in the strmode(3) manual page Message-ID: <20030619110444.GA236@pm514-9.comsys.ntu-kpi.kiev.ua> Resent-Message-ID: <200306191110.h5JBABfB069685@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@freebsd.org From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> Reply-To: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> Cc: X-send-pr-version: 3.113 X-GNATS-Notify:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030619110444.GA236>