"Josh Hurst" <joshhurst at gmail.com> wrote:

> > The wrapper is needed in order to make stdio, I/O redirection
> > and signal handling cooperate with a piece of code that has been
> > compiled in a standard Solaris environment.
>
> What's wrong with using the AST functions and stdio?

I am not shure what you like to say....


stdio if no compatible with sfio.

If the Korn Shell does not use a FILE *std[3] parameter for
builtin functions (as my bsh does for I/O redirection), then
ksh93 seems to rely on _overwriting_ stdin/stdout/stderr. 
This will never work for software that has not the internal knowledge of the
libc stdio implementation as libc has hidden additional data for stdin/....


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