![]() |
![]()
| ![]() |
![]()
NAMEseek - change file offset SYNOPSIS#include <u.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.c SEE ALSODIAGNOSTICSSets errstr. BUGSTo avoid name conflicts with the underlying system, seek is a preprocessor macro defined as p9seek; see
|