delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/02/11:40:51

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3F2BD9E7.DB0F3B54@phekda.freeserve.co.uk>
Date: Sat, 02 Aug 2003 16:33:59 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: bdeck <bdeck AT lycos DOT co DOT uk>
CC: DJGPP newsgroup <djgpp AT delorie DOT com>
Subject: Re: sys/ioctl.h turned off?
References: <bggj57$cbs$1 AT ulysses DOT news DOT tiscali DOT de>

Hello.

bdeck wrote:
> 
> Line 132 of sys/ioctl.h:
> 
> #if 0
> 
> My experience is that this turns everything else bellow off. Why? Dozens of
> declaraions disabled... Why?
> 
> Changed to #if defined (__ENABLE_IOCTL)
> to suit my purposes.

These are probably disabled to stop various programs thinking we support the
features that the macros assume. E.g.: we don't support non-blocking or
asynchronous I/O.

There are various cases in DJGPP where we don't define things in headers, to
stop programs trying to use those features, because of e.g.: autoconf tests,
#if <macro>/#endif tests.

Try searching the DJGPP archives for sys/ioctl.h and also see this message:

http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/1996/07/29/06:15:22

Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019