parser-inc: additions to sys/stat.h and signal.h

This commit is contained in:
rdb 2024-03-29 13:01:40 +01:00
parent 04a9264e68
commit a3745af451
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,21 @@
#pragma once
#include <stdtypedefs.h>
#include <time.h>
#define SIG_DFL SIG_DFL
#define SIG_ERR SIG_ERR
#define SIG_HOLD SIG_HOLD
#define SIG_IGN SIG_IGN
typedef int pthread_t;
typedef unsigned int uid_t;
typedef int pid_t;
typedef int sig_atomic_t;
typedef unsigned int sigset_t;
union sigval {
int sival_int;
void *sival_ptr;
};

View File

@ -1,3 +1,8 @@
#pragma once
#include <sys/types.h>
#include <time.h>
struct stat;
int stat(const char *restrict, struct stat *restrict);