Compare commits

...

2 commits

2 changed files with 11 additions and 2 deletions

View file

@ -30,8 +30,8 @@
#include <types/timer_t.h> #include <types/timer_t.h>
#include <types/pid_t.h> #include <types/pid_t.h>
struct sigevent; struct sigevent;
#endif
#include <types/locale_t.h> #include <types/locale_t.h>
#endif
struct tm { struct tm {
unsigned int tm_sec : 6; unsigned int tm_sec : 6;
@ -45,12 +45,12 @@ struct tm {
int tm_isdst : 2; int tm_isdst : 2;
}; };
#ifdef _POSIX_C_SOURCE
struct timespec { struct timespec {
time_t tv_sec; time_t tv_sec;
long int tv_nsec; long int tv_nsec;
}; };
#ifdef _POSIX_C_SOURCE
struct itimerspec { struct itimerspec {
struct timespec it_interval; struct timespec it_interval;
struct timespec it_value; struct timespec it_value;

View file

@ -51,6 +51,8 @@
#define _XOPEN_ENH_I18N 700 #define _XOPEN_ENH_I18N 700
#define _XOPEN_SHM 700 #define _XOPEN_SHM 700
#include <stddef.h>
#define R_OK 01 #define R_OK 01
#define W_OK 02 #define W_OK 02
#define X_OK 04 #define X_OK 04
@ -63,4 +65,11 @@
#define F_TLOCK 03 #define F_TLOCK 03
#define F_ULOCK 04 #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 #endif