git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of github.com:thepowersgang/acess2
[tpg/acess2.git]
/
Usermode
/
Libraries
/
libposix.so_src
/
include_exp
/
sys
/
stat.h
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
99c526b
..
c574928
100644
(file)
--- 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)
* - By John Hodge (thePowersGang)
+ *
+ * sys/stat.h
+ * - stat(2)
*/
#ifndef _SYS_STAT_H_
#define _SYS_STAT_H_
*/
#ifndef _SYS_STAT_H_
#define _SYS_STAT_H_
-//#include "../acess/intdefs.h" /* Evil */
-//#include "../stddef.h"
#include <stdint.h>
#include "sys/types.h" // off_t
#include <stdint.h>
#include "sys/types.h" // off_t
@@
-17,8
+18,12
@@
typedef uint64_t blkcnt_t;
typedef unsigned int nlink_t;
typedef uint32_t mode_t;
typedef unsigned int nlink_t;
typedef uint32_t mode_t;
+#ifndef uid_t
typedef uint32_t uid_t;
typedef uint32_t uid_t;
+#endif
+#ifndef gid_t
typedef uint32_t gid_t;
typedef uint32_t gid_t;
+#endif
#define S_IFMT 0170000 /* type of file */
#define S_IFDIR 0040000 /* directory */
#define S_IFMT 0170000 /* type of file */
#define S_IFDIR 0040000 /* directory */
@@
-48,6
+53,7
@@
struct stat
};
extern int stat(const char *path, struct stat *buf);
};
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);
#endif
extern int fstat(int fd, struct stat *buf);
#endif
UCC
git Repository :: git.ucc.asn.au