/*****************************************************************************/
-/* Data */
+/* Data */
/*****************************************************************************/
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
+/* WE need size_t */
+#ifndef _HAVE_size_t
+#define _HAVE_size_t
+typedef unsigned size_t;
+#endif
+
/* We need off_t if sys/types is not included */
-#ifndef __HAVE_off_t
-#define __HAVE_off_t
+#ifndef _HAVE_off_t
+#define _HAVE_off_t
typedef long int off_t;
#endif
/*****************************************************************************/
-/* Code */
+/* Code */
/*****************************************************************************/
/* Directories */
int __fastcall__ chdir (const char* name);
+char* __fastcall__ getcwd (char* buf, size_t size);
int mkdir (const char* name, ...); /* May take a mode argument */
int __fastcall__ rmdir (const char* name);