mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 03:15:07 -04:00
parser-inc: additions to sys/stat.h
and signal.h
This commit is contained in:
parent
04a9264e68
commit
a3745af451
21
dtool/src/parser-inc/signal.h
Normal file
21
dtool/src/parser-inc/signal.h
Normal 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;
|
||||||
|
};
|
@ -1,3 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
struct stat;
|
struct stat;
|
||||||
|
|
||||||
|
int stat(const char *restrict, struct stat *restrict);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user