1010 ftell和fseek

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

long ftell(FILE *stream);

fseeko 

将数据类型定义成off_t
int fseeko(FILE *stream, off_t offset, int whence);

off_t ftello(FILE *stream);

 

 

all:main
main:main.o llist.o
    $(CC) $^ -o $@
clean:
    rm *.o main -rf
CFLAGS+=D_FILE_OFF‐SET_BITS=64
//注意看erros
//confirms 标准
//note 注意点
//samples

posted @ 2021-10-10 14:22  张喆坤  阅读(29)  评论(0编辑  收藏  举报