return fd;
}
+#if _FILE_OFFSET_BITS != 64
int open(const char *pathname, int flags, ...)
{
typedef int (*FUNC_PTR) (const char* pathname, int flags, ...);
}
return fd;
}
+#endif
FILE *fopen64(const char *pathname, const char *mode)
{
return f;
}
+#if _FILE_OFFSET_BITS != 64
FILE *fopen(const char *pathname, const char *mode)
{
typedef FILE *(*FUNC_PTR) (const char* pathname, const char *mode);
}
return f;
}
+#endif
int socket(int domain, int type, int protocol)
{