delorie.com/archives/browse.cgi | search |
Xref: | news2.mv.net comp.os.msdos.djgpp:5939 |
From: | Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | ioctl() |
Date: | Fri, 12 Jul 1996 09:15:02 +0100 |
Organization: | Lehrstuhl fuer Stroemungsmechanik |
Lines: | 34 |
Message-ID: | <31E60986.2781@LSTM.Ruhr-UNI-Bochum.De> |
NNTP-Posting-Host: | bvb.lstm.ruhr-uni-bochum.de |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I just finished the DOSish part of ioctl() and will put it on ftp://ftp.lstm.ruhr-uni-bochum.de/pub/djgpp/ioctl.zip this afternoon (CEST). It includes support for all Int 0x21/AH=0x44 calls for AL < 0x12 in a quite easy to uses way. Other functions can be supported by macros. The UNIXish part currently does what the not so naive UNIX-C programmer would expect from a DOS environment: It return -1 and sets errno. WARNING: ioctl() functions usually work pretty close to the hardware, involve real mode DOS and _can_ easily wipe out your harddisk. Better check the source to see if I missed something. You have been warned. -- Ciao Tom ************************************************************* * Thomas Demmer * * Lehrstuhl fuer Stroemungsmechanik * * Ruhr-Uni-Bochum * * Universitaetsstr. 150 * * D-44780 Bochum * * Tel: +49 234 700 6434 * * Fax: +49 234 709 4162 * * http://www.lstm.ruhr-uni-bochum.de/~demmer * *************************************************************
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |