FreeCalypso > hg > fc-pcm-if
view sw/libserial/nonblock.c @ 10:c1d9b5d128f5
fc-mcsi-rxtx: implement print-rx command
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 28 Oct 2024 06:11:23 +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); }