Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3E6B856D.A5DE18D5@phekda.freeserve.co.uk> Date: Sun, 09 Mar 2003 18:18:21 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: DJ Delorie CC: djgpp-workers AT delorie DOT com Subject: Re: New POSIX: pwrite, revision 3 [PATCH] References: <200303091756 DOT h29HuNa00743 AT envy DOT delorie DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. DJ Delorie wrote: > What about pwrite() working for character devices? Won't the first > llseek fail, causing the whole pwrite() to fail? The test program seems to work fine, when it uses pwrite with stdout & stderr. I've tested that with and without redirection (both > and | redirection). I haven't tested other character devices. Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]