Path: utzoo!attcan!uunet!mcsun!sunic!kth!draken!matsl From: matsl@nada.kth.se (Mats Luthman) Newsgroups: comp.os.minix Subject: System calls: particularly checking if input is available on stdin Message-ID: <1730@draken.nada.kth.se> Date: 21 Sep 89 22:17:50 GMT Reply-To: matsl@nada.kth.se (Mats Luthman) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 13 I know how to do it in both BSD and AT&T UNIX, but I can't find a fcntl function in libc.a (on MINIX-ST). I can find gtty and stty, but I can't find documentation about them anywhere. I remember reading something about them a long time ago, but I don't remember enough. Aren't they considered obsolete? And by the way, is there a manual on MINIX system calls? I have the book, but it doesn't say very much about how to use them, and gtty and stty aren't even mentioned (in the index). I have the AT&T manual, but it doesn't seem to help me, at least not in this case. Another thing I can't find is macros for the mode parameter to open(). Another thing I want to know: if I want a certain function to be called every time there is input available on a file descriptor, what do I do? There is no SIGIO signal, so I wonder if it is at all possible.