Re: [Off Topic] C language Question

From: George (greerga@CIRCLEMUD.ORG)
Date: 12/17/97


On Wed, 17 Dec 1997, Chuck Carson wrote:

>system("ls -al > somefile.dat")
>fopen(blah......)
>
>Is this the only method of doing this?

Take a look at the board patch written by PjD or the readdir man page.  In
addition you can try:  read(2), opendir(3), closedir(3), rewinddir(3),
seekdir(3), telldir(3), scandir(3)

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST