This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

file descriptors vs. ports



While trying to wrap the termios calls (tcgetattr, tcsetattr) in libc (which 
are lacking in the posix support that comes with guile) I stumbled about file 
descriptors as arguments.
Is it possible to wrap those calls into subrs that take a port as an argument
, where the corresponding C-function takes a fildescriptor? Which libguile
functions would one use for that?

Klaus Schilling