1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 17:48:07 +11:00
collapseos/tools/common.h
2020-07-22 17:26:06 -04:00

9 lines
293 B
C

void sendcmd(int fd, char *cmd);
void sendcmdp(int fd, char *cmd);
void mread(int fd, char *s, int count);
int mexpect(int fd, char ec);
void readprompt(int fd);
int set_interface_attribs(int fd, int speed, int parity);
void set_blocking(int fd, int should_block);
int ttyopen(char *devname);