add getline impl
This commit is contained in:
parent
86d72ffba3
commit
1da71680f7
5 changed files with 64 additions and 3 deletions
|
|
@ -8,12 +8,16 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* file.c */
|
||||
GSDECL GSFile GSFileOpen(GSEngine engine, const char* path);
|
||||
GSDECL int GSFileRead(GSFile file, void* out, int size);
|
||||
GSDECL void GSFileSeek(GSFile file, int pos);
|
||||
GSDECL unsigned int GSFileSize(GSFile file);
|
||||
GSDECL void GSFileClose(GSFile file);
|
||||
|
||||
/* getline.c */
|
||||
GSDECL int GSFileGetLine(char** lineptr, int* n, FILE* fp);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue