mirror of
https://github.com/jfdelnero/HxCFloppyEmulator.git
synced 2026-07-28 04:06:36 +00:00
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:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user