1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 19:05:08 +00:00

More compat work.

Move syscall to int 0x82 since using int 0x80 was kinda prone to fork bombs
when building things on Linux. :^)
This commit is contained in:
Andreas Kling 2019-02-26 12:57:02 +01:00
parent f6b41d166d
commit cccc8d8aeb
17 changed files with 81 additions and 9 deletions

View file

@ -9,6 +9,7 @@ __BEGIN_DECLS
typedef uint32_t tcflag_t;
typedef uint8_t cc_t;
typedef uint32_t speed_t;
struct termios {
tcflag_t c_iflag;
@ -21,6 +22,7 @@ struct termios {
int tcgetattr(int fd, struct termios*);
int tcsetattr(int fd, int optional_actions, const struct termios*);
int tcflow(int fd, int action);
int tcflush(int fd, int queue_selector);
/* c_cc characters */
#define VINTR 0