System() function

Vilva Natarajan vilva at csvax.csc.lsu.edu
Tue Oct 23 05:20:40 AEST 1990


I am trying to do system("man cat | wc -c") in my program, and i need
to store the value returned by "wc" in a variable declared in my program.
I dont want to redirect it to a file and then read from the file.
Please advice.

vilva at csvax.csc.lsu.edu



More information about the Comp.unix.internals mailing list