mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-25 03:50:29 +00:00
Create a fake syscall() function due to Python
This commit is contained in:
parent
4b2023ffab
commit
2eb7148474
8 changed files with 74 additions and 8 deletions
|
@ -9,13 +9,18 @@ extern const uint32_t FIONBIO;
|
|||
extern const uint32_t FIONCLEX;
|
||||
extern const uint32_t FIONREAD;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define FIOASYNC FIOASYNC
|
||||
#define FIOCLEX FIOCLEX
|
||||
#define FIONBIO FIONBIO
|
||||
#define FIONCLEX FIONCLEX
|
||||
#define FIONREAD FIONREAD
|
||||
|
||||
#define __tmpcosmo_FIOASYNC -484047213
|
||||
#define __tmpcosmo_FIOCLEX -1198942590
|
||||
#define __tmpcosmo_FIONBIO 2035363853
|
||||
#define __tmpcosmo_FIONCLEX -25760400
|
||||
#define __tmpcosmo_FIONREAD 1333957726
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_FIO_H_ */
|
||||
|
|
|
@ -27,5 +27,6 @@
|
|||
#define IN_OPEN 0x20
|
||||
#define IN_Q_OVERFLOW 0x4000
|
||||
#define IN_UNMOUNT 0x2000
|
||||
#define IN_CLASSA_NSHIFT 24
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IN_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue