[comp.unix.ultrix] lseek

creps@silver.bacs.indiana.edu (Steve Creps) (03/22/89)

Reply-to: creps@silver.bacs.indiana.edu (Steve Creps)


   The man page for lseek in Ultrix v3.0 has a mistake in the return value for
lseek(2). The beginning of it says it returns an int, but later the man page
says it returns a long integer. Lint complains unless it is declared as long.
   Also, lint doesn't like it when the second parameter is declared off_t, as
the man page says it should. /usr/include/sys/types.h has off_t typedef'ed to
int, but lint wants a long. Is the mistake in the man page, or the include
file? In other words, would it be a good idea to redefine off_t as long?

-	-	-	-	-	-	-	-	-	-
Steve Creps, Indiana University, Bloomington, home of the "Hoosiers"
	creps@silver.bacs.indiana.edu (129.79.1.6)
	{inuxc,rutgers,uunet!uiucdcs,pur-ee}!iuvax!silver!creps
	creps@iubacs.bitnet (forwarded)