12 static int set_interface_attribs(
int fd,
int speed,
int parity) {
15 if (tcgetattr(
fd, &
tty) != 0) {
18 cfsetospeed(&
tty, speed);
19 cfsetispeed(&
tty, speed);
36 tty.c_cflag |= parity;
56 (void)set_interface_attribs(
fd, speed, parity);
static static fork const void static count static fd const char const char static newpath const char static path const char path
return memset(p, 0, total)
RZ_API int rz_socket_connect_serial(RzSocket *sock, const char *path, int speed, int parity)
static const z80_opcode fd[]