|
NAMEseek - change file offsetSYNOPSIS#include <u.h>#include <libc.h> vlong seek(int fd, vlong n, int type) DESCRIPTIONSeek sets the offset for the file associated with fd as follows:
The new file offset value is returned. Seeking in a directory is not allowed. Seeking in a pipe is a no-op. SOURCE/src/lib9/seek.cSEE ALSODIAGNOSTICSSets errstr.BUGSTo avoid name conflicts with the underlying system, seek is a preprocessor macro defined as p9seek; see Visit the GSP FreeBSD Man Page Interface. |