FreeCalypso > hg > fc-pcm-if
view sw/libserial/nonblock.c @ 13:315428573a25
fc-mcsi-rxtx: implement record function
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 28 Oct 2024 07:24:53 +0000 |
parents | a4918a161d2e |
children |
line wrap: on
line source
/* * This module contains the set_serial_nonblock() function. */ #include <sys/types.h> #include <sys/ioctl.h> #include <unistd.h> extern int target_fd; set_serial_nonblock(state) int state; { ioctl(target_fd, FIONBIO, &state); }