Subject: misc/6053: typo in fseek/ftell man page
To: None <gnats-bugs@gnats.netbsd.org>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: netbsd-bugs
Date: 08/26/1998 14:52:53
>Number:         6053
>Category:       misc
>Synopsis:       should be ftell not fseek
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 26 20:20:01 1998
>Last-Modified:
>Originator:     Michael Richardson
>Organization:
>Release:        1.3.2
>Environment:
	
System: NetBSD morden 1.3.2 NetBSD 1.3.2 (MORDEN) #5: Mon Jul 27 01:24:03 EDT 1998 mcr@istari.sandelman.ottawa.on.ca:/corp/network/kernels/compile/MORDEN i386
Architecture: i386

>Description:
from fseek(3):
RETURN VALUES
     The rewind() function returns no value.  Upon successful completion,
     fgetpos(), fseek(), fsetpos() return 0, and ftell() returns the current
     offset.  Otherwise, fseek() returns -1 and the others return a nonzero
     value and the global variable errno is set to indicate the error.
>How-To-Repeat:
>Fix:
Should read:
RETURN VALUES
     The rewind() function returns no value.  Upon successful completion,
     fgetpos(), fseek(), fsetpos() return 0, and ftell() returns the current
|    offset.  Otherwise, ftell() returns -1 and the others return a nonzero
     value and the global variable errno is set to indicate the error.
>Audit-Trail:
>Unformatted: