Compare commits
2 commits
59cd28a315
...
c1b4221663
Author | SHA1 | Date | |
---|---|---|---|
c1b4221663 | |||
382f19732a |
2 changed files with 11 additions and 2 deletions
|
@ -30,8 +30,8 @@
|
|||
#include <types/timer_t.h>
|
||||
#include <types/pid_t.h>
|
||||
struct sigevent;
|
||||
#endif
|
||||
#include <types/locale_t.h>
|
||||
#endif
|
||||
|
||||
struct tm {
|
||||
unsigned int tm_sec : 6;
|
||||
|
@ -45,12 +45,12 @@ struct tm {
|
|||
int tm_isdst : 2;
|
||||
};
|
||||
|
||||
#ifdef _POSIX_C_SOURCE
|
||||
struct timespec {
|
||||
time_t tv_sec;
|
||||
long int tv_nsec;
|
||||
};
|
||||
|
||||
#ifdef _POSIX_C_SOURCE
|
||||
struct itimerspec {
|
||||
struct timespec it_interval;
|
||||
struct timespec it_value;
|
||||
|
|
|
@ -51,6 +51,8 @@
|
|||
#define _XOPEN_ENH_I18N 700
|
||||
#define _XOPEN_SHM 700
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#define R_OK 01
|
||||
#define W_OK 02
|
||||
#define X_OK 04
|
||||
|
@ -63,4 +65,11 @@
|
|||
#define F_TLOCK 03
|
||||
#define F_ULOCK 04
|
||||
|
||||
#include <types/pid_t.h>
|
||||
|
||||
pid_t fork(void);
|
||||
int execv(const char *, char *const []);
|
||||
int execve(const char *, char *const [], char *const []);
|
||||
int execvp(const char *, char *const []);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue