New function : hxc_gets.

git-svn-id: svn://svn.code.sf.net/p/hxcfloppyemu/code/HxCFloppyEmulator/libhxcadaptor/trunk@1369 63fa2f70-6a9b-4bc4-b855-9c6a949b1d69
This commit is contained in:
Jean-François DEL NERO
2016-01-02 14:26:14 +00:00
parent 5168491f7a
commit 0565cac634
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -255,6 +255,11 @@ int hxc_fread(void * ptr, size_t size, FILE *f)
}
}
char * hxc_fgets(char * str, int num, FILE *f)
{
return fgets( str, num, f );
}
int hxc_fclose(FILE * f)
{
return fclose(f);
+1
View File
@@ -45,6 +45,7 @@ int hxc_open (const char *filename, int flags, ...);
FILE *hxc_fopen (const char *filename, const char *mode);
int hxc_fread(void * ptr, size_t size, FILE *f);
char * hxc_fgets(char * str, int num, FILE *f);
int hxc_fclose(FILE * f);
#ifndef stat