diff options
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/syscalls.list | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/termbits.h | 17 |
2 files changed, 6 insertions, 13 deletions
diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list index 2da874eaed..8bec38d204 100644 --- a/sysdeps/unix/sysv/linux/syscalls.list +++ b/sysdeps/unix/sysv/linux/syscalls.list @@ -8,7 +8,6 @@ getpgid - getpgid 1 getpgid getpgrp - getpgrp 0 getpgrp getppid - getppid 0 __getppid getppid getsid - getsid 1 getsid -gtty - gtty 2 gtty ipc msgget ipc 5 __ipc mlock - mlock 2 __mlock mlock mlockall - mlockall 1 __mlockall mlockall @@ -23,6 +22,5 @@ s_sigsuspend sigsuspend sigsuspend 3 __syscall_sigsuspend setpgid - setpgid 2 setpgid sigpending - sigpending 1 sigpending sigprocmask - sigprocmask 3 __sigprocmask sigprocmask -stty - stty 2 stty umount - umount 1 __umount umount wait4 - wait4 4 __wait4 wait4 diff --git a/sysdeps/unix/sysv/linux/termbits.h b/sysdeps/unix/sysv/linux/termbits.h index 5af4c4aae8..fa537ab7ac 100644 --- a/sysdeps/unix/sysv/linux/termbits.h +++ b/sysdeps/unix/sysv/linux/termbits.h @@ -84,8 +84,6 @@ struct termios #define FFDLY 0x00008000 #define FF0 0 #define FF1 0x00008000 -#define PAGEOUT 0x00010000 -#define WRAP 0x00020000 #endif /* Control modes. */ @@ -102,9 +100,9 @@ struct termios #define HUPCL 0x00000400 /* Hang up on last close. */ #define CLOCAL 0x00000800 /* Ignore modem status lines. */ #ifdef __USE_BSD -#define CRTSCTS 0x08000000 +#define CRTSCTS 0x80000000 #define CBAUD 0x0000000f /* Mask for speed from c_cflag. */ -#define CBAUDEX 0x00010000 /* Mask for extended speed from c_cflag. */ +#define CBAUDEX 0x00001000 /* Mask for extended speed from c_cflag. */ #endif /* Local modes. */ @@ -133,9 +131,9 @@ struct termios /* Control characters. */ #define VEOF 4 /* End-of-file character [ICANON]. */ -#define VEOL 5 /* End-of-line character [ICANON]. */ +#define VEOL 11 /* End-of-line character [ICANON]. */ #ifdef __USE_BSD -#define VEOL2 6 /* Second EOL character [ICANON]. */ +#define VEOL2 16 /* Second EOL character [ICANON]. */ #define VSWTCH 7 /* ??? */ #endif #define VERASE 2 /* Erase character [ICANON]. */ @@ -149,17 +147,14 @@ struct termios #define VINTR 0 /* Interrupt character [ISIG]. */ #define VQUIT 1 /* Quit character [ISIG]. */ #define VSUSP 10 /* Suspend character [ISIG]. */ -#ifdef __USE_BSD -#define VDSUSP 11 /* Delayed suspend character [ISIG]. */ -#endif #define VSTART 8 /* Start (X-ON) character [IXON, IXOFF]. */ #define VSTOP 9 /* Stop (X-OFF) character [IXON, IXOFF]. */ #ifdef __USE_BSD #define VLNEXT 15 /* Literal-next character [IEXTEN]. */ #define VDISCARD 13 /* Discard character [IEXTEN]. */ #endif -#define VMIN VEOF /* Minimum number of bytes read at once [!ICANON]. */ -#define VTIME VEOL /* Time-out value (tenths of a second) [!ICANON]. */ +#define VMIN 6 /* Minimum number of bytes read at once [!ICANON]. */ +#define VTIME 5 /* Time-out value (tenths of a second) [!ICANON]. */ #define NCCS 19 cc_t c_cc[NCCS]; }; |