delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/03/09/13:30:53

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 <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: DJ Delorie <dj AT delorie DOT com>
CC: djgpp-workers AT delorie DOT com
Subject: Re: New POSIX: pwrite, revision 3 [PATCH]
References: <E18s3xB-0000pt-00 AT phekda DOT freeserve DOT co DOT uk> <200303091756 DOT h29HuNa00743 AT envy DOT delorie DOT com>
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/ ]

- Raw text -


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