(mode_t, off_t): New.
(posix_mkdir, posix_bind, posix_setsockopt, posix_lseek, posix_read) (posix_write): Fix prototypes to conform to POSIX.
This commit is contained in:
parent
95bdfebe78
commit
318f4b10f3
4 changed files with 19 additions and 16 deletions
|
@ -52,8 +52,10 @@
|
|||
#define srandom srand
|
||||
|
||||
/* sys/types.h */
|
||||
typedef long ssize_t;
|
||||
typedef int mode_t;
|
||||
typedef long off_t;
|
||||
typedef int pid_t;
|
||||
typedef long ssize_t;
|
||||
|
||||
/* time.h */
|
||||
struct tm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue