1 /* copyright: Steve Dekorte, 2002
2 * All rights reserved. See _BSDLicense.txt.
5 #ifndef IOSystemCall_DEFINED
6 #define IOSystemCall_DEFINED 1
11 #include "callsystem.h"
13 #define ISSYSTEMCALL(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoSystemCall_rawClone)
15 typedef IoObject IoSystemCall
;
21 callsystem_fd_t stdin_child
[2];
22 callsystem_fd_t stdout_child
[2];
23 callsystem_fd_t stderr_child
[2];
28 IoTag
*IoSystemCall_newTag(void *state
);
29 IoSystemCall
*IoSystemCall_proto(void *state
);
30 IoSystemCall
*IoSystemCall_rawClone(IoObject
*self
);
31 void IoSystemCall_free(IoObject
*self
);
33 IoObject
*IoSystemCall_asyncRun(IoObject
*self
, IoObject
*locals
, IoMessage
*m
);
34 IoObject
*IoSystemCall_status(IoObject
*self
, IoObject
*locals
, IoMessage
*m
);
35 IoObject
*IoSystemCall_close(IoObject
*self
, IoObject
*locals
, IoMessage
*m
);
36 void IoSystemCall_rawClose(IoSystemCall
*self
);