mirror of
https://github.com/cahirwpz/libnix.git
synced 2026-09-11 19:26:17 +00:00
Moved the right functions into the right files.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int fsetpos(FILE *stream,fpos_t *pos)
|
||||
{ return fseek(stream,*pos,SEEK_SET); }
|
||||
int fgetpos(FILE *stream,fpos_t *pos)
|
||||
{ *pos=ftell(stream); return 0; }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int fgetpos(FILE *stream,fpos_t *pos)
|
||||
{ *pos=ftell(stream); return 0; }
|
||||
int fsetpos(FILE *stream,fpos_t *pos)
|
||||
{ return fseek(stream,*pos,SEEK_SET); }
|
||||
|
||||
Reference in New Issue
Block a user