typedef struct Sys_Qid Sys_Qid;typedef struct Sys_Dir Sys_Dir;typedef struct Sys_FD Sys_FD;typedef struct Sys_Connection Sys_Connection;typedef struct Sys_FileIO Sys_FileIO;typedef struct Keyring_IPint Keyring_IPint;typedef struct Keyring_SigAlg Keyring_SigAlg;typedef struct Keyring_PK Keyring_PK;typedef struct Keyring_SK Keyring_SK;typedef struct Keyring_Certificate Keyring_Certificate;typedef struct Keyring_DigestState Keyring_DigestState;typedef struct Keyring_AESstate Keyring_AESstate;typedef struct Keyring_DESstate Keyring_DESstate;typedef struct Keyring_IDEAstate Keyring_IDEAstate;typedef struct Keyring_RC4state Keyring_RC4state;typedef struct Keyring_BFstate Keyring_BFstate;typedef struct Keyring_Authinfo Keyring_Authinfo;typedef struct Keyring_RSApk Keyring_RSApk;typedef struct Keyring_RSAsk Keyring_RSAsk;typedef struct Keyring_RSAsig Keyring_RSAsig;typedef struct Keyring_DSApk Keyring_DSApk;typedef struct Keyring_DSAsk Keyring_DSAsk;typedef struct Keyring_DSAsig Keyring_DSAsig;typedef struct Keyring_EGpk Keyring_EGpk;typedef struct Keyring_EGsk Keyring_EGsk;typedef struct Keyring_EGsig Keyring_EGsig;struct Sys_Qid{ LONG path; WORD vers; WORD qtype;};#define Sys_Qid_size 16#define Sys_Qid_map {0}struct Sys_Dir{ String* name; String* uid; String* gid; String* muid; Sys_Qid qid; WORD mode; WORD atime; WORD mtime; uchar _pad44[4]; LONG length; WORD dtype; WORD dev;};#define Sys_Dir_size 64#define Sys_Dir_map {0xf0,}struct Sys_FD{ WORD fd;};#define Sys_FD_size 4#define Sys_FD_map {0}struct Sys_Connection{ Sys_FD* dfd; Sys_FD* cfd; String* dir;};#define Sys_Connection_size 12#define Sys_Connection_map {0xe0,}typedef struct{ Array* t0; String* t1; } Sys_Rread;#define Sys_Rread_size 8#define Sys_Rread_map {0xc0,}typedef struct{ WORD t0; String* t1; } Sys_Rwrite;#define Sys_Rwrite_size 8#define Sys_Rwrite_map {0x40,}struct Sys_FileIO{ Channel* read; Channel* write;};typedef struct{ WORD t0; WORD t1; WORD t2; Channel* t3; } Sys_FileIO_read;#define Sys_FileIO_read_size 16#define Sys_FileIO_read_map {0x10,}typedef struct{ WORD t0; Array* t1; WORD t2; Channel* t3; } Sys_FileIO_write;#define Sys_FileIO_write_size 16#define Sys_FileIO_write_map {0x50,}#define Sys_FileIO_size 8#define Sys_FileIO_map {0xc0,}struct Keyring_IPint{ WORD x;};#define Keyring_IPint_size 4#define Keyring_IPint_map {0}struct Keyring_SigAlg{ String* name;};#define Keyring_SigAlg_size 4#define Keyring_SigAlg_map {0x80,}struct Keyring_PK{ Keyring_SigAlg* sa; String* owner;};#define Keyring_PK_size 8#define Keyring_PK_map {0xc0,}struct Keyring_SK{ Keyring_SigAlg* sa; String* owner;};#define Keyring_SK_size 8#define Keyring_SK_map {0xc0,}struct Keyring_Certificate{ Keyring_SigAlg* sa; String* ha; String* signer; WORD exp;};#define Keyring_Certificate_size 16#define Keyring_Certificate_map {0xe0,}struct Keyring_DigestState{ WORD x;};#define Keyring_DigestState_size 4#define Keyring_DigestState_map {0}struct Keyring_AESstate{ WORD x;};#define Keyring_AESstate_size 4#define Keyring_AESstate_map {0}struct Keyring_DESstate{ WORD x;};#define Keyring_DESstate_size 4#define Keyring_DESstate_map {0}struct Keyring_IDEAstate{ WORD x;};#define Keyring_IDEAstate_size 4#define Keyring_IDEAstate_map {0}struct Keyring_RC4state{ WORD x;};#define Keyring_RC4state_size 4#define Keyring_RC4state_map {0}struct Keyring_BFstate{ WORD x;};#define Keyring_BFstate_size 4#define Keyring_BFstate_map {0}struct Keyring_Authinfo{ Keyring_SK* mysk; Keyring_PK* mypk; Keyring_Certificate* cert; Keyring_PK* spk; Keyring_IPint* alpha; Keyring_IPint* p;};#define Keyring_Authinfo_size 24#define Keyring_Authinfo_map {0xfc,}struct Keyring_RSApk{ Keyring_IPint* n; Keyring_IPint* ek;};#define Keyring_RSApk_size 8#define Keyring_RSApk_map {0xc0,}struct Keyring_RSAsk{ Keyring_RSApk* pk; Keyring_IPint* dk; Keyring_IPint* p; Keyring_IPint* q; Keyring_IPint* kp; Keyring_IPint* kq; Keyring_IPint* c2;};#define Keyring_RSAsk_size 28#define Keyring_RSAsk_map {0xfe,}struct Keyring_RSAsig{ Keyring_IPint* n;};#define Keyring_RSAsig_size 4#define Keyring_RSAsig_map {0x80,}struct Keyring_DSApk{ Keyring_IPint* p; Keyring_IPint* q; Keyring_IPint* alpha; Keyring_IPint* key;};#define Keyring_DSApk_size 16#define Keyring_DSApk_map {0xf0,}struct Keyring_DSAsk{ Keyring_DSApk* pk; Keyring_IPint* secret;};#define Keyring_DSAsk_size 8#define Keyring_DSAsk_map {0xc0,}struct Keyring_DSAsig{ Keyring_IPint* r; Keyring_IPint* s;};#define Keyring_DSAsig_size 8#define Keyring_DSAsig_map {0xc0,}struct Keyring_EGpk{ Keyring_IPint* p; Keyring_IPint* alpha; Keyring_IPint* key;};#define Keyring_EGpk_size 12#define Keyring_EGpk_map {0xe0,}struct Keyring_EGsk{ Keyring_EGpk* pk; Keyring_IPint* secret;};#define Keyring_EGsk_size 8#define Keyring_EGsk_map {0xc0,}struct Keyring_EGsig{ Keyring_IPint* r; Keyring_IPint* s;};#define Keyring_EGsig_size 8#define Keyring_EGsig_map {0xc0,}void Sys_announce(void*);typedef struct F_Sys_announce F_Sys_announce;struct F_Sys_announce{ WORD regs[NREG-1]; struct{ WORD t0; Sys_Connection t1; }* ret; uchar temps[12]; String* addr;};void Sys_aprint(void*);typedef struct F_Sys_aprint F_Sys_aprint;struct F_Sys_aprint{ WORD regs[NREG-1]; Array** ret; uchar temps[12]; String* s; WORD vargs;};void Sys_bind(void*);typedef struct F_Sys_bind F_Sys_bind;struct F_Sys_bind{ WORD regs[NREG-1]; WORD* ret; uchar temps[12]; String* s; String* on; WORD flags;};void Sys_byte2char(void*);typedef struct F_Sys_byte2char F_Sys_byte2char;struct F_Sys_byte2char{ WORD regs[NREG-1]; struct{ WORD t0; WORD t1; WORD t2; }* ret; uchar temps[12]; Array* buf; WORD n;};void Sys_char2byte(void*);typedef struct F_Sys_char2byte F_Sys_char2byte;struct F_Sys_char2byte{ WORD regs[NREG-1]; WORD* ret; uchar temps[12]; WORD c; Array* buf; WORD n;};void Sys_chdir(void*);typedef struct F_Sys_chdir F_Sys_chdir;struct F_Sys_chdir{ WORD regs[NREG-1]; WORD* ret; uchar temps[12]; String* path;};void Sys_create(void*);typedef struct F_Sys_create F_Sys_create;struct F_Sys_create{ WORD regs[NREG-1]; Sys_FD** ret; uchar temps[12]; String* s; WORD mode; WORD perm;};void Sys_dial(void*);typedef struct F_Sys_dial F_Sys_dial;struct F_Sys_dial{ WORD regs[NREG-1]; struct{ WORD t0; Sys_Connection t1; }* ret; uchar temps[12]; String* addr; String* local;};void Sys_dirread(void*);typedef struct F_Sys_dirread F_Sys_dirread;struct F_Sys_dirread{ WORD regs[NREG-1]; struct{ WORD t0; Array* t1; }* ret; uchar temps[12]; Sys_FD* fd;};void Sys_dup(void*);typedef struct F_Sys_dup F_Sys_dup;struct F_Sys_dup{ WORD regs[NREG-1]; WORD* ret; uchar temps[12]; WORD old; WORD new;};void Sys_export(void*);typedef struct F_Sys_export F_Sys_export;struct F_Sys_export{ WORD regs[NREG-1]; WORD* ret; uchar temps[12]; Sys_FD* c; String* dir; WORD flag;};void Sys_fauth(void*);typedef struct F_Sys_fauth F_Sys_fauth;struct F_Sys_fauth{ WORD regs[NREG-1]; Sys_FD** ret; uchar temps[12]; Sys_FD* fd; String* aname;};void Sys_fd2path(void*);typedef struct F_Sys_fd2path F_Sys_fd2path;struct F_Sys_fd2path{ WORD regs[NREG-1]; String** ret; uchar temps[12]; Sys_FD* fd;};void Sys_fildes(void*);typedef struct F_Sys_fildes F_Sys_fildes;struct F_Sys_fildes{ WORD regs[NREG-1]; Sys_FD** ret; uchar temps[12]; WORD fd;};void Sys_file2chan(void*);typedef struct F_Sys_file2chan F_Sys_file2chan;struct F_Sys_file2chan{ WORD regs[NREG-1]; Sys_FileIO** ret; uchar temps[12]; String* dir; String* file;};void Sys_fprint(void*);typedef struct F_Sys_fprint F_Sys_fprint;struct F_Sys_fprint{ WORD regs[NREG-1]; WORD* ret; uchar temps[12]; Sys_FD* fd; String* s; WORD vargs;};void Sys_fstat(void*);typedef struct F_Sys_fstat F_Sys_fstat;struct F_Sys_fstat{ WORD regs[NREG-1]; struct{ WORD t0; uchar _pad4[4]; Sys_Dir t1; }* ret; uchar temps[12]; Sys_FD* fd;};void Sys_fversion(void*);typedef struct F_Sys_fversion F_Sys_fversion;struct F_Sys_fversion{ WORD regs[NREG-1]; struct{ WORD t0; String* t1; }* ret; uchar temps[12]; Sys_FD* fd; WORD msize; String* version;};void Sys_fwstat(void*);typedef struct F_Sys_fwstat F_Sys_fwstat;struct F_Sys_fwstat{ WORD regs[NREG-1]; WORD* ret; uchar temps[12]; Sys_FD* fd; uchar _pad36[4]; Sys_Dir d;};void Sys_iounit(void*);typedef struct F_Sys_iounit F_Sys_iounit;struct F_Sys_iounit{ WORD regs[NREG-1]; WORD* ret; uchar temps[12]; Sys_FD* fd;};void Sys_listen(void*);typedef struct F_Sys_listen F_Sys_listen;struct F_Sys_listen{ WORD regs[NREG-1]; struct{ WORD t0; Sys_Connection t1; }* ret; uchar temps[12]; Sys_Connection c;};void Sys_millisec(void*);typedef struct F_Sys_millisec F_Sys_millisec;struct F_Sys_millisec{ WORD regs[NREG-1]; WORD* ret; uchar temps[12];};void Sys_mount(void*);typedef struct F_Sys_mount F_Sys_mount;struct F_Sys_mount{ WORD regs[NREG-1]; WORD* ret; uchar temps[12]; Sys_FD* fd; Sys_FD* afd; String* on; WORD flags; String* spec;};void Sys_open(void*);typedef struct F_Sys_open F_Sys_open;struct F_Sys_open{ WORD regs[NREG-1]; Sys_FD** ret; uchar temps[12]; String* s; WORD mode;};void Sys_pctl(void*);typedef struct F_Sys_pctl F_Sys_pctl;struct F_Sys_pctl{ WORD regs[NREG-1]; WORD* ret; uchar temps[12]; WORD flags; List* movefd;};void Sys_pipe(void*);typedef struct F_Sys_pipe F_Sys_pipe;struct F_Sys_pipe{ WORD regs[NREG-1]; WORD* ret; uchar temps[12]; Array* fds;};void Sys_pread(void*);typedef struct F_Sys_pread F_Sys_pread;struct F_Sys_pread{ WORD regs[NREG-1];Lines 1–500 of 1690. Load more
typedef struct Sys_Qid Sys_Qid; typedef struct Sys_Dir Sys_Dir; typedef struct Sys_FD Sys_FD; typedef struct Sys_Connection Sys_Connection; typedef struct Sys_FileIO Sys_FileIO; typedef struct Keyring_IPint Keyring_IPint; typedef struct Keyring_SigAlg Keyring_SigAlg; typedef struct Keyring_PK Keyring_PK; typedef struct Keyring_SK Keyring_SK; typedef struct Keyring_Certificate Keyring_Certificate; typedef struct Keyring_DigestState Keyring_DigestState; typedef struct Keyring_AESstate Keyring_AESstate; typedef struct Keyring_DESstate Keyring_DESstate; typedef struct Keyring_IDEAstate Keyring_IDEAstate; typedef struct Keyring_RC4state Keyring_RC4state; typedef struct Keyring_BFstate Keyring_BFstate; typedef struct Keyring_Authinfo Keyring_Authinfo; typedef struct Keyring_RSApk Keyring_RSApk; typedef struct Keyring_RSAsk Keyring_RSAsk; typedef struct Keyring_RSAsig Keyring_RSAsig; typedef struct Keyring_DSApk Keyring_DSApk; typedef struct Keyring_DSAsk Keyring_DSAsk; typedef struct Keyring_DSAsig Keyring_DSAsig; typedef struct Keyring_EGpk Keyring_EGpk; typedef struct Keyring_EGsk Keyring_EGsk; typedef struct Keyring_EGsig Keyring_EGsig; struct Sys_Qid { LONG path; WORD vers; WORD qtype; }; #define Sys_Qid_size 16 #define Sys_Qid_map {0} struct Sys_Dir { String* name; String* uid; String* gid; String* muid; Sys_Qid qid; WORD mode; WORD atime; WORD mtime; uchar _pad44[4]; LONG length; WORD dtype; WORD dev; }; #define Sys_Dir_size 64 #define Sys_Dir_map {0xf0,} struct Sys_FD { WORD fd; }; #define Sys_FD_size 4 #define Sys_FD_map {0} struct Sys_Connection { Sys_FD* dfd; Sys_FD* cfd; String* dir; }; #define Sys_Connection_size 12 #define Sys_Connection_map {0xe0,} typedef struct{ Array* t0; String* t1; } Sys_Rread; #define Sys_Rread_size 8 #define Sys_Rread_map {0xc0,} typedef struct{ WORD t0; String* t1; } Sys_Rwrite; #define Sys_Rwrite_size 8 #define Sys_Rwrite_map {0x40,} struct Sys_FileIO { Channel* read; Channel* write; }; typedef struct{ WORD t0; WORD t1; WORD t2; Channel* t3; } Sys_FileIO_read; #define Sys_FileIO_read_size 16 #define Sys_FileIO_read_map {0x10,} typedef struct{ WORD t0; Array* t1; WORD t2; Channel* t3; } Sys_FileIO_write; #define Sys_FileIO_write_size 16 #define Sys_FileIO_write_map {0x50,} #define Sys_FileIO_size 8 #define Sys_FileIO_map {0xc0,} struct Keyring_IPint { WORD x; }; #define Keyring_IPint_size 4 #define Keyring_IPint_map {0} struct Keyring_SigAlg { String* name; }; #define Keyring_SigAlg_size 4 #define Keyring_SigAlg_map {0x80,} struct Keyring_PK { Keyring_SigAlg* sa; String* owner; }; #define Keyring_PK_size 8 #define Keyring_PK_map {0xc0,} struct Keyring_SK { Keyring_SigAlg* sa; String* owner; }; #define Keyring_SK_size 8 #define Keyring_SK_map {0xc0,} struct Keyring_Certificate { Keyring_SigAlg* sa; String* ha; String* signer; WORD exp; }; #define Keyring_Certificate_size 16 #define Keyring_Certificate_map {0xe0,} struct Keyring_DigestState { WORD x; }; #define Keyring_DigestState_size 4 #define Keyring_DigestState_map {0} struct Keyring_AESstate { WORD x; }; #define Keyring_AESstate_size 4 #define Keyring_AESstate_map {0} struct Keyring_DESstate { WORD x; }; #define Keyring_DESstate_size 4 #define Keyring_DESstate_map {0} struct Keyring_IDEAstate { WORD x; }; #define Keyring_IDEAstate_size 4 #define Keyring_IDEAstate_map {0} struct Keyring_RC4state { WORD x; }; #define Keyring_RC4state_size 4 #define Keyring_RC4state_map {0} struct Keyring_BFstate { WORD x; }; #define Keyring_BFstate_size 4 #define Keyring_BFstate_map {0} struct Keyring_Authinfo { Keyring_SK* mysk; Keyring_PK* mypk; Keyring_Certificate* cert; Keyring_PK* spk; Keyring_IPint* alpha; Keyring_IPint* p; }; #define Keyring_Authinfo_size 24 #define Keyring_Authinfo_map {0xfc,} struct Keyring_RSApk { Keyring_IPint* n; Keyring_IPint* ek; }; #define Keyring_RSApk_size 8 #define Keyring_RSApk_map {0xc0,} struct Keyring_RSAsk { Keyring_RSApk* pk; Keyring_IPint* dk; Keyring_IPint* p; Keyring_IPint* q; Keyring_IPint* kp; Keyring_IPint* kq; Keyring_IPint* c2; }; #define Keyring_RSAsk_size 28 #define Keyring_RSAsk_map {0xfe,} struct Keyring_RSAsig { Keyring_IPint* n; }; #define Keyring_RSAsig_size 4 #define Keyring_RSAsig_map {0x80,} struct Keyring_DSApk { Keyring_IPint* p; Keyring_IPint* q; Keyring_IPint* alpha; Keyring_IPint* key; }; #define Keyring_DSApk_size 16 #define Keyring_DSApk_map {0xf0,} struct Keyring_DSAsk { Keyring_DSApk* pk; Keyring_IPint* secret; }; #define Keyring_DSAsk_size 8 #define Keyring_DSAsk_map {0xc0,} struct Keyring_DSAsig { Keyring_IPint* r; Keyring_IPint* s; }; #define Keyring_DSAsig_size 8 #define Keyring_DSAsig_map {0xc0,} struct Keyring_EGpk { Keyring_IPint* p; Keyring_IPint* alpha; Keyring_IPint* key; }; #define Keyring_EGpk_size 12 #define Keyring_EGpk_map {0xe0,} struct Keyring_EGsk { Keyring_EGpk* pk; Keyring_IPint* secret; }; #define Keyring_EGsk_size 8 #define Keyring_EGsk_map {0xc0,} struct Keyring_EGsig { Keyring_IPint* r; Keyring_IPint* s; }; #define Keyring_EGsig_size 8 #define Keyring_EGsig_map {0xc0,} void Sys_announce(void*); typedef struct F_Sys_announce F_Sys_announce; struct F_Sys_announce { WORD regs[NREG-1]; struct{ WORD t0; Sys_Connection t1; }* ret; uchar temps[12]; String* addr; }; void Sys_aprint(void*); typedef struct F_Sys_aprint F_Sys_aprint; struct F_Sys_aprint { WORD regs[NREG-1]; Array** ret; uchar temps[12]; String* s; WORD vargs; }; void Sys_bind(void*); typedef struct F_Sys_bind F_Sys_bind; struct F_Sys_bind { WORD regs[NREG-1]; WORD* ret; uchar temps[12]; String* s; String* on; WORD flags; }; void Sys_byte2char(void*); typedef struct F_Sys_byte2char F_Sys_byte2char; struct F_Sys_byte2char { WORD regs[NREG-1]; struct{ WORD t0; WORD t1; WORD t2; }* ret; uchar temps[12]; Array* buf; WORD n; }; void Sys_char2byte(void*); typedef struct F_Sys_char2byte F_Sys_char2byte; struct F_Sys_char2byte { WORD regs[NREG-1]; WORD* ret; uchar temps[12]; WORD c; Array* buf; WORD n; }; void Sys_chdir(void*); typedef struct F_Sys_chdir F_Sys_chdir; struct F_Sys_chdir { WORD regs[NREG-1]; WORD* ret; uchar temps[12]; String* path; }; void Sys_create(void*); typedef struct F_Sys_create F_Sys_create; struct F_Sys_create { WORD regs[NREG-1]; Sys_FD** ret; uchar temps[12]; String* s; WORD mode; WORD perm; }; void Sys_dial(void*); typedef struct F_Sys_dial F_Sys_dial; struct F_Sys_dial { WORD regs[NREG-1]; struct{ WORD t0; Sys_Connection t1; }* ret; uchar temps[12]; String* addr; String* local; }; void Sys_dirread(void*); typedef struct F_Sys_dirread F_Sys_dirread; struct F_Sys_dirread { WORD regs[NREG-1]; struct{ WORD t0; Array* t1; }* ret; uchar temps[12]; Sys_FD* fd; }; void Sys_dup(void*); typedef struct F_Sys_dup F_Sys_dup; struct F_Sys_dup { WORD regs[NREG-1]; WORD* ret; uchar temps[12]; WORD old; WORD new; }; void Sys_export(void*); typedef struct F_Sys_export F_Sys_export; struct F_Sys_export { WORD regs[NREG-1]; WORD* ret; uchar temps[12]; Sys_FD* c; String* dir; WORD flag; }; void Sys_fauth(void*); typedef struct F_Sys_fauth F_Sys_fauth; struct F_Sys_fauth { WORD regs[NREG-1]; Sys_FD** ret; uchar temps[12]; Sys_FD* fd; String* aname; }; void Sys_fd2path(void*); typedef struct F_Sys_fd2path F_Sys_fd2path; struct F_Sys_fd2path { WORD regs[NREG-1]; String** ret; uchar temps[12]; Sys_FD* fd; }; void Sys_fildes(void*); typedef struct F_Sys_fildes F_Sys_fildes; struct F_Sys_fildes { WORD regs[NREG-1]; Sys_FD** ret; uchar temps[12]; WORD fd; }; void Sys_file2chan(void*); typedef struct F_Sys_file2chan F_Sys_file2chan; struct F_Sys_file2chan { WORD regs[NREG-1]; Sys_FileIO** ret; uchar temps[12]; String* dir; String* file; }; void Sys_fprint(void*); typedef struct F_Sys_fprint F_Sys_fprint; struct F_Sys_fprint { WORD regs[NREG-1]; WORD* ret; uchar temps[12]; Sys_FD* fd; String* s; WORD vargs; }; void Sys_fstat(void*); typedef struct F_Sys_fstat F_Sys_fstat; struct F_Sys_fstat { WORD regs[NREG-1]; struct{ WORD t0; uchar _pad4[4]; Sys_Dir t1; }* ret; uchar temps[12]; Sys_FD* fd; }; void Sys_fversion(void*); typedef struct F_Sys_fversion F_Sys_fversion; struct F_Sys_fversion { WORD regs[NREG-1]; struct{ WORD t0; String* t1; }* ret; uchar temps[12]; Sys_FD* fd; WORD msize; String* version; }; void Sys_fwstat(void*); typedef struct F_Sys_fwstat F_Sys_fwstat; struct F_Sys_fwstat { WORD regs[NREG-1]; WORD* ret; uchar temps[12]; Sys_FD* fd; uchar _pad36[4]; Sys_Dir d; }; void Sys_iounit(void*); typedef struct F_Sys_iounit F_Sys_iounit; struct F_Sys_iounit { WORD regs[NREG-1]; WORD* ret; uchar temps[12]; Sys_FD* fd; }; void Sys_listen(void*); typedef struct F_Sys_listen F_Sys_listen; struct F_Sys_listen { WORD regs[NREG-1]; struct{ WORD t0; Sys_Connection t1; }* ret; uchar temps[12]; Sys_Connection c; }; void Sys_millisec(void*); typedef struct F_Sys_millisec F_Sys_millisec; struct F_Sys_millisec { WORD regs[NREG-1]; WORD* ret; uchar temps[12]; }; void Sys_mount(void*); typedef struct F_Sys_mount F_Sys_mount; struct F_Sys_mount { WORD regs[NREG-1]; WORD* ret; uchar temps[12]; Sys_FD* fd; Sys_FD* afd; String* on; WORD flags; String* spec; }; void Sys_open(void*); typedef struct F_Sys_open F_Sys_open; struct F_Sys_open { WORD regs[NREG-1]; Sys_FD** ret; uchar temps[12]; String* s; WORD mode; }; void Sys_pctl(void*); typedef struct F_Sys_pctl F_Sys_pctl; struct F_Sys_pctl { WORD regs[NREG-1]; WORD* ret; uchar temps[12]; WORD flags; List* movefd; }; void Sys_pipe(void*); typedef struct F_Sys_pipe F_Sys_pipe; struct F_Sys_pipe { WORD regs[NREG-1]; WORD* ret; uchar temps[12]; Array* fds; }; void Sys_pread(void*); typedef struct F_Sys_pread F_Sys_pread; struct F_Sys_pread { WORD regs[NREG-1];