Path: utzoo!attcan!uunet!mcsun!hp4nl!star.cs.vu.nl!ast From: ast@cs.vu.nl (Andy Tanenbaum) Newsgroups: comp.os.minix Subject: Re: System calls: particularly checking if input is available on stdin Message-ID: <3343@ast.cs.vu.nl> Date: 22 Sep 89 17:29:58 GMT References: <1730@draken.nada.kth.se> Reply-To: ast@cs.vu.nl (Andy Tanenbaum) Organization: VU Informatica, Amsterdam Lines: 14 In article <1730@draken.nada.kth.se> matsl@nada.kth.se (Mats Luthman) writes: >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. stty and gtty are just repackagings of ioctl, which is the standard V7 way to control TTYs. As to documentation, MINIX is more-or-less based on the V7 manual: The UNIX programmer's manual, Vols. 1-2 Bell Labs Published by Holt Rinehart and Winston, 1983 ISBN 0-03-061742-1 Andy Tanenbaum (ast@cs.vu.nl)