On Mon, Mar 30, 2009 at 11:06 PM, Rick Romero <r...@havokmon.com> wrote:
> Programming question - if I write to fd0 (STDOUT), and then exec() a > process, will that child process see the data I put in fd0 from the parent? > Maybe I'll just try that as well. > make fd0 a file (using makeseekable) and do lseek (0, 0L, SEEK_SET); Attached is a function which can make stdin seekable. !DSPAM:49d192c032681954743819!
makeseekable.c
Description: Binary data