🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #32620

File handle info

#32620
From: Piet van Oostrum
Date: Fri, 20 May 1988 12:44
10 lines
822 bytes
Is there a way to find out what kind of file is connected to a file handle,
e.g. disk file/keyboard/screen.
In some old Atari doc I found F_ioctl, but that doesn't seem to be
implemented. The problems come up when you run a program with stdin/stdout
redirected by a shell.

-- 
Piet van Oostrum, Dept of Computer Science, University of Utrecht
Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands
Telephone: +31-30-531806              UUCP: ...!mcvax!ruuinf!piet
Technical Details
Message-ID: <447@ruuinf.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!ruuinf!piet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!ruuinf!piet
From: piet@ruuinf.UUCP (Piet van Oostrum)
Newsgroups: comp.sys.atari.st
Subject: File handle info
Message-ID: <447@ruuinf.UUCP>
Date: 20 May 88 12:44:44 GMT
Organization: Univ of Utrecht, Dept of CS
Lines: 10
Posting-Front-End: GNU Emacs 18.47.9 of Mon Mar 21 1988 on ruuinf (hcx/ux)