mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-17 09:48:05 +11:00
c2b507eaff
So far, I hadn't managed to run those tools properly on OpenBSD. I was too confused by its stty peculiarities. I'm still confused, but at least I managed to make them work... most of the time...
8 lines
263 B
C
8 lines
263 B
C
void sendcmd(int fd, char *cmd);
|
|
void sendcmdp(int fd, char *cmd);
|
|
void mread(int fd, char *s, int count);
|
|
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);
|