2008年6月29日 星期日

fseek

reposition a file-position indicator in a stream

#include <stdio.h>


int fseek(FILE *stream, long offset, int whence);

whence:
describe the location in the file to which offset is relative
ex:
SEEK_SET:
relative to the beginning of the file

沒有留言: