Hello Frank,
FH> The GPC unit contains low-level file routines such as OpenHandle FH> (also without O_SYNC support though), ReadHandle, WriteHandle (which FH> work with handles obtained from libc's open), AssignHandle (to bind FH> such a handle to a Pascal file) etc.
Thank you for the answer. I've forgot that I'll have to make ioctl calls for this device, therefore I'll anyway be forced to write interface functions in C. I've looked at GPC sources and didn't find interface function for ioctl.
Best regards, Igor mailto:marny@rambler.ru