delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/15/17:31:33

Date: Mon, 15 Jan 2001 17:31:29 -0500
Message-Id: <200101152231.RAA00825@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <3A63764C.2CE7F394@phekda.freeserve.co.uk> (message from Richard
Dawe on Mon, 15 Jan 2001 22:14:36 +0000)
Subject: Re: /dev/zero & /dev/full FSEXTs
References: <E14EtVu-0000G9-00 AT phekda DOT freeserve DOT co DOT uk> <8632-Sat06Jan2001203659+0200-eliz AT is DOT elta DOT co DOT il> <3A63764C DOT 2CE7F394 AT phekda DOT freeserve DOT co DOT uk>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Would an FSEXT hook for setmode() be useful?

Why?  Isn't the bin/text processing done in the layer above fsext?

> What do you think the behaviour for SEEK_CUR and SEEK_END should be?

It's not a real file, so you can't seek in it.  IMHO it should return
a "not a file" error.

- Raw text -


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