add directory study
This commit is contained in:
11
study/linux-travel/minix-386/estdio21.tar/estdio21/fsetpos.c
Normal file
11
study/linux-travel/minix-386/estdio21.tar/estdio21/fsetpos.c
Normal file
@@ -0,0 +1,11 @@
|
||||
/* f s e t p o s */
|
||||
|
||||
#include "stdiolib.h"
|
||||
|
||||
/*LINTLIBRARY*/
|
||||
|
||||
int fsetpos F2(FILE *, fp, fpos_t *, pp)
|
||||
|
||||
{
|
||||
return fseek(fp, *pp, SEEK_SET) != 0 ? EOF : 0;
|
||||
}
|
||||
Reference in New Issue
Block a user