integer types, sys calls, and stdio
Doug Gwyn (VLD/VMB)
gwyn at Brl-Vld.ARPA
Fri Jan 11 17:08:22 AEST 1985
Definitely there are several incorrect system call and C library
interface descriptions in the 4.2BSD manual. In those cases
where there is a corresponding UNIX System V, /usr/group, or
ANSI X3J11 specification you should use it instead.
The only "variable type" declarations used in the ANSI C library
specifications are a few instances apiece of:
jmp_buf va_list size_t onexit_ptr time_t
On 4.2BSD time_t is necessarily a long (must be an integral type!)
and size_t is a unsigned (type of "sizeof" operator).
For the case you give as an example, the answer is:
long lseek( int fildes, long offset, int whence );
More information about the Comp.unix.wizards
mailing list