integer types, sys calls, and stdio
Chris Torek
chris at umcp-cs.UUCP
Fri Jan 11 09:40:39 AEST 1985
The 4.2BSD manual entry that claims that lseek returns an
integer and takes an integer argument for its offset is *wrong*!
The system call itself (in the kernel) takes the arguments
int fd;
off_t off;
int sbase;
(off_t is typedef'd to int in <sys/types.h>, but this is a system-
dependent file.)
--
(This line accidently left nonblank.)
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet: chris at umcp-cs ARPA: chris at maryland
More information about the Comp.unix.wizards
mailing list