Mail Archives: djgpp/1996/06/28/09:14:27
DJ Delorie wrote:
[...]
> Heck, even under *Unix* ioctl is a mysterious function.
How true, you can read man pages till the doctor comes, to
no avail.
>
> If someone comes up with an implementation that does what both naive
> dos programmers and naive unix programmers expect, and doesn't violate
> POSIX, I'll put it in libc.
To make things even worse, TC/BC prototype
int ioctl(int, int, ...)
AIX says in the man page
int ioctl(int, int, void *)
and in a header file
long ioctl(int, int, void *)
HP-UX say the same as TC/BC, DJGPP says nothing.
I think I'd better say nothing, too.
--
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 *
*************************************************************
- Raw text -