/tmp file duration program questions.
T. William Wells
bill at twwells.com
Thu Feb 8 17:10:31 AEST 1990
In article <5474.25cddf6b at elroy.uh.edu> cosc6bp at elroy.uh.edu (A JETSON News User) writes:
: . What command would I use to execute 'ls /tmp' from C?
: . What is the most convenient way of routing the output from
: 'ls /tmp' back into the program so that it could be compared to the
: array or linked list? I think that a one line at a time feed would
: be best.
Use popen(3).
---
Bill { uunet | novavax | ankh } !twwells!bill
bill at twwells.com
More information about the Comp.lang.c
mailing list