mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-26 20:40:28 +00:00
Make blink support conditionally linkable into APE
This commit is contained in:
parent
52d28966f7
commit
562a1384cd
21 changed files with 288 additions and 269 deletions
|
@ -1451,8 +1451,6 @@ syscon termios CSTOP 19 19 19 19 19 19 19 0 # unix consensus
|
|||
# Pseudoteletypewriter Control
|
||||
#
|
||||
# group name GNU/Systemd GNU/Systemd (Aarch64) XNU's Not UNIX! MacOS (Arm64) FreeBSD OpenBSD NetBSD The New Technology Commentary
|
||||
syscon pty TIOCGPTN 0x80045430 0x80045430 0 0 0x4004740f 0 0 0 # boop
|
||||
syscon pty TIOCSPTLCK 0x40045431 0x40045431 0 0 0 0 0 0 # boop
|
||||
syscon pty TIOCPKT 0x5420 0x5420 0x80047470 0x80047470 0x80047470 0x80047470 0x80047470 -1 # boop
|
||||
syscon pty TIOCPKT_DATA 0 0 0 0 0 0 0 0 # consensus
|
||||
syscon pty TIOCPKT_FLUSHREAD 1 1 1 1 1 1 1 1 # unix consensus
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon pty,TIOCGPTN,0x80045430,0x80045430,0,0,0x4004740f,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon pty,TIOCSPTLCK,0x40045431,0x40045431,0,0,0,0,0,0
|
|
@ -12,7 +12,6 @@ extern const int TIOCPKT_IOCTL;
|
|||
extern const int TIOCPKT_NOSTOP;
|
||||
extern const int TIOCPKT_START;
|
||||
extern const int TIOCPKT_STOP;
|
||||
extern const int TIOCSPTLCK;
|
||||
|
||||
#define TIOCPKT_DATA 0x00
|
||||
#define TIOCPKT_DOSTOP 0x01
|
||||
|
@ -23,11 +22,9 @@ extern const int TIOCSPTLCK;
|
|||
#define TIOCPKT_START 0x20
|
||||
#define TIOCPKT_STOP 0x40
|
||||
|
||||
#define TIOCPKT TIOCPKT
|
||||
#define TIOCSPTLCK TIOCSPTLCK
|
||||
#define TIOCPKT TIOCPKT
|
||||
|
||||
#define __tmpcosmo_TIOCPKT -1036987649
|
||||
#define __tmpcosmo_TIOCSPTLCK 372918192
|
||||
#define __tmpcosmo_TIOCPKT -1036987649
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
|
@ -81,7 +81,6 @@ extern const int TCSAFLUSH;
|
|||
extern const int TCSANOW;
|
||||
extern const uint64_t TIOCCONS;
|
||||
extern const uint64_t TIOCGETD;
|
||||
extern const uint64_t TIOCGPTN;
|
||||
extern const uint64_t TIOCGWINSZ;
|
||||
extern const uint64_t TIOCNOTTY;
|
||||
extern const uint64_t TIOCNXCL;
|
||||
|
@ -211,7 +210,6 @@ extern const uint32_t CRTSCTS;
|
|||
#define TCSANOW 0
|
||||
#define TIOCCONS TIOCCONS
|
||||
#define TIOCGETD TIOCGETD
|
||||
#define TIOCGPTN TIOCGPTN
|
||||
#define TIOCGWINSZ TIOCGWINSZ
|
||||
#define TIOCNOTTY TIOCNOTTY
|
||||
#define TIOCNXCL TIOCNXCL
|
||||
|
@ -308,7 +306,6 @@ extern const uint32_t CRTSCTS;
|
|||
#define __tmpcosmo_TCOFLUSH 659539281
|
||||
#define __tmpcosmo_TIOCCONS 1455144588
|
||||
#define __tmpcosmo_TIOCGETD 470897144
|
||||
#define __tmpcosmo_TIOCGPTN 67701595
|
||||
#define __tmpcosmo_TIOCGWINSZ 965491756
|
||||
#define __tmpcosmo_TIOCNOTTY 1073131930
|
||||
#define __tmpcosmo_TIOCNXCL 1210582499
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue