Re: Getting output from another program.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 21, 2007 at 02:01:14PM -0600, Topher Fischer wrote:
> 2. What's the best practice for getting output from an external command?
>  I've heard of it being done by forking, overwriting the child's file
> descriptors for stdin and stdout with pipes, and then exec'ing the
> command.
>
have you checked popen?

-M 
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux