FreeCalypso > hg > fc-sim-tools
view calypso/nonblock.c @ 66:c8e2a0e89d08
grcard1-set-admN: entry form changed from decimal to hex
also added more comments to the code
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 24 Mar 2021 06:04:40 +0000 |
parents | f6b03af63bf7 |
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); }