| www.delorie.com/djgpp/doc/libc-2.01/libc_453.html | search |
#include <unistd.h> off_t lseek(int fd, off_t offset, int whence);
This function moves the file pointer for fd according to mode:
SEEK_SET
SEEK_CUR
SEEK_END
The new offset is returned.
lseek(fd, 12, SEEK_CUR); /* skip 12 bytes */
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |