marko@sinanju.UUCP (Mark Moore) (01/12/91)
#include <libraries/dos.h> #include <libraries/dosextens.h> extern struct FileHandle *Open(); main() { struct FileHandle *fd; if (!(fd = Open(SERIAL_DEVICE, MODE_READWRITE))) printf("Can't open serial device: write\n"); else Close(fdread); } I'm trying to avoid coding at a lower level than this. I mostly want to be able to use WaitForChar(). I would like to avoid using UUSER: (Which I've been using.) MODE_OLDFILE seems to work. Please send mail. I don't get these groups at home. Thanks. Mark ------------------------------------------------------------------------------- | Mark Moore | "Well, what about Captain Zero?" | | marko@sinanju.uucp | -Sam Donaldson on the David Brinkley | | ..!harvard!m2c!jjmhome!sinanju!marko | show discussing terrorism. | -------------------------------------------------------------------------------