1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-17 09:38:05 +11:00
collapseos/tools/common.h

9 lines
293 B
C
Raw Normal View History

2019-12-10 14:01:22 +11:00
void sendcmd(int fd, char *cmd);
void sendcmdp(int fd, char *cmd);
void mread(int fd, char *s, int count);
2020-07-23 07:26:06 +10:00
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);