Date: Sun, 19 May 1996 00:07:16 GMT From: James Raynard <james@jraynard.demon.co.uk> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/1214: lseek() manpage refers to fildes argument as a file pointer Message-ID: <199605190007.AAA04710@jraynard.demon.co.uk> Resent-Message-ID: <199605182350.QAA06522@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1214
>Category: docs
>Synopsis: lseek() manpage refers to fildes argument as a file pointer
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sat May 18 16:50:01 PDT 1996
>Last-Modified:
>Originator: James Raynard
>Organization:
A FreeBSD box
>Release: FreeBSD 2.2-CURRENT i386
>Environment:
FreeBSD 2.1.0 and -current, probably back to 2.0 as well.
>Description:
The man page says:
Lseek() repositions the file pointer fildes as follows:
Presumably this should be 'the file pointer associated with fildes',
or words to that effect, as fildes is a file descriptor. ('file
pointer' is dangerously similar to 'FILE pointer' - and anyway it's
not correct).
>How-To-Repeat:
man lseek
>Fix:
Apply this patch in /usr/src/lib/libc/sys:-
*** lseek.2~ Sat May 18 23:39:46 1996
--- lseek.2 Sat May 18 23:41:02 1996
***************
*** 56,62 ****
must be an open
file descriptor.
.Fn Lseek
! repositions the file pointer
.Fa fildes
as follows:
.Bl -item -offset indent
--- 56,62 ----
must be an open
file descriptor.
.Fn Lseek
! repositions the file pointer associated with
.Fa fildes
as follows:
.Bl -item -offset indent
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605190007.AAA04710>
