Compare commits

...

2 Commits

Author SHA1 Message Date
Kat R. c1b4221663 Added things, like stuff for hosted cross-comp 2021-07-26 01:40:56 -05:00
Kat R. 382f19732a fixed some C extension tagging 2021-07-26 00:44:48 -05:00
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