dimanche 1 février 2015

termios settings after closing file


Are the settings altered by functions from termios.h kept after file is closed and open again?


I want to use serial communication in a higher level language (Racket) which exposes only reading and writing to/from file ports, but none of the additional functionality (termios, ioctl, fnctl). I can use FFI to bind those additional functions and use them, but then I need to close given file and open it again to read/write with Racket functionality - hence my question.



Aucun commentaire:

Enregistrer un commentaire