delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/10/14/06:29:13

From: bill AT taniwha DOT org
Sender: bill AT delorie DOT com
Message-ID: <3805ADEC.E32D3B5B@taniwha.org>
Date: Thu, 14 Oct 1999 23:18:20 +1300
X-Mailer: Mozilla 4.6 [en] (X11; U; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: /dev/zero support
References: <3804C701 DOT 347EB2A0 AT tudor21 DOT net>
Reply-To: djgpp-workers AT delorie DOT com

Richard Dawe wrote:
> 
> Hello.
> 
> I was recently thinking of adding /dev/zero via a FSEXT to DJGPP. I
> reasoned that /dev/null was currently implemented in this way. Is this so?
> A grep of the DJGPP libc sources didn't yield anything that looked like
> /dev/null support. Is /dev/null support implemented in bash, make, etc. or
> is it part of DJGPP's libc? If not, why not?

/dev/null and /dev/crt are actually supported by dos itself (in a broken
way: replace /dev with anything at you still get the device), so
/dev/null support in djgpp is redundant. However, FSEXT for /dev/zero is
probably the right way to go.

> Having looked at the FSEXT sources, I think it would be quite easy to
> install some FSEXTs to the FSEXT list automatically.

I'm not sure what you mean by automatically, but yes, making the
additions shouldn't be too onerous. Sorry I can't be of more help, I've
been out of the loop and lurking on this list for too long (almost two
years now, blame Linux:).

Bill
-- 
Leave others their otherness.

- Raw text -


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