|
|
|
@ -49,6 +49,8 @@ int apfs_feof(APFS_FILE *stream);
@@ -49,6 +49,8 @@ int apfs_feof(APFS_FILE *stream);
|
|
|
|
|
long apfs_ftell(APFS_FILE *stream); |
|
|
|
|
APFS_FILE *apfs_freopen(const char *pathname, const char *mode, APFS_FILE *stream); |
|
|
|
|
int apfs_remove(const char *pathname); |
|
|
|
|
int apfs_rename(const char *oldpath, const char *newpath); |
|
|
|
|
char *tmpnam(char *s); |
|
|
|
|
|
|
|
|
|
#undef stdin |
|
|
|
|
#undef stdout |
|
|
|
@ -87,6 +89,7 @@ int apfs_remove(const char *pathname);
@@ -87,6 +89,7 @@ int apfs_remove(const char *pathname);
|
|
|
|
|
#define ftell(stream) apfs_ftell(stream) |
|
|
|
|
#define freopen(pathname, mode, stream) apfs_freopen(pathname, mode, stream) |
|
|
|
|
#define remove(pathname) apfs_remove(pathname) |
|
|
|
|
#define rename(oldpath, newpath) apfs_rename(oldpath, newpath) |
|
|
|
|
#if !defined(__APPLE__) |
|
|
|
|
int sprintf(char *str, const char *format, ...); |
|
|
|
|
#endif |
|
|
|
|