Mail Archives: djgpp-workers/2001/03/26/02:24:30
On Sun, 25 Mar 2001, Mark E. wrote:
> The popen( ) function shall execute the command specified by the string
> command. It creates a pipe between the calling program and the executed
> command, and returns a pointer to a stream that can be used to either read
> from or write to the pipe.
>
> My interpreation of the paragraph is that seeks aren't allowed just like with
> its unbuffered cousin pipe().
Yes, I agree. But I'd like to see if we don't break any existing code.
Could people please grep whatever DJGPP-related sources they have on
their machines, including ports, and see if they can find even a single
case where popen is used and its FILE object is fseek'ed or lseek'ed?
TIA
- Raw text -