X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibposix.so_src%2Finclude_exp%2Fsys%2Fstat.h;h=0340a9fc285e407273598ecb04605b2f46827e51;hb=e7a76b0d8a0cc6aa77966509780973a6f8216ef7;hp=99c526b2a6b758366f68ed04ff84f24e24eb7135;hpb=479d0634670b58da044bc58149662adba0ad1d0b;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libposix.so_src/include_exp/sys/stat.h b/Usermode/Libraries/libposix.so_src/include_exp/sys/stat.h index 99c526b2..0340a9fc 100644 --- a/Usermode/Libraries/libposix.so_src/include_exp/sys/stat.h +++ b/Usermode/Libraries/libposix.so_src/include_exp/sys/stat.h @@ -1,12 +1,13 @@ /* - * Acess2 C Library + * Acess2 POSIX Emulation Lib * - By John Hodge (thePowersGang) + * + * sys/stat.h + * - stat(2) */ #ifndef _SYS_STAT_H_ #define _SYS_STAT_H_ -//#include "../acess/intdefs.h" /* Evil */ -//#include "../stddef.h" #include #include "sys/types.h" // off_t @@ -17,9 +18,6 @@ typedef uint64_t blkcnt_t; typedef unsigned int nlink_t; typedef uint32_t mode_t; -typedef uint32_t uid_t; -typedef uint32_t gid_t; - #define S_IFMT 0170000 /* type of file */ #define S_IFDIR 0040000 /* directory */ #define S_IFCHR 0020000 /* character special */ @@ -48,6 +46,8 @@ struct stat }; 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