typedef unsigned int nlink_t;
typedef uint32_t mode_t;
-#ifndef uid_t
-typedef uint32_t uid_t;
-#endif
-#ifndef gid_t
-typedef uint32_t gid_t;
-#endif
-
#define S_IFMT 0170000 /* type of file */
#define S_IFDIR 0040000 /* directory */
#define S_IFCHR 0020000 /* character special */
extern int stat(const char *path, struct stat *buf);
extern int lstat(const char *path, struct stat *buf);
extern int fstat(int fd, struct stat *buf);
+extern int mkdir(const char *pathname, mode_t mode);
#endif