David Korn <dgk at research.att.com> wrote:

> Subject: Re: Re: [ksh93-integration-discuss] Verifiying that ksh93 cooperates 
> with  plain Solaris libs
> --------
>
> > Could you pleas explain how this should work with I/O redirection?
>
>
> The shell will have set 0 1 2 based on the redirections that you
> have supplied so that these will refer to the descriptors
> that the builtin should use just as if these were external commands.

OK, if you just replace the files that 0 1 2 point to, you would only 
have the problem that you need to call the native stdio flush code in
order to hide any ferror()/feof() condition and in order to let fseeko()
and ftello() bealigned with what you get from lseek(1, ..).



J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to