Path: utzoo!attcan!uunet!mailrus!uflorida!novavax!twwells!bill From: bill@twwells.com (T. William Wells) Newsgroups: comp.lang.c Subject: Re: /tmp file duration program questions. Message-ID: <1990Feb8.061031.11287@twwells.com> Date: 8 Feb 90 06:10:31 GMT References: <5474.25cddf6b@elroy.uh.edu> Organization: None, Ft. Lauderdale, FL Lines: 12 In article <5474.25cddf6b@elroy.uh.edu> cosc6bp@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@twwells.com