Re: HOW TO : list a directory in C ?

2003-01-02 Thread j_post
On Thursday 02 January 2003 10:05 am, you wrote: > Hello, >I am using Linux RedHat7.2 and i would like to know how to list the > content of a directory (as dir or ls) in C program? Thanks for your help. > Canarich > Email me and I'll send you my dirmap.c program that does a lot more than just

Re: HOW TO : list a directory in C ?

2003-01-02 Thread Dave Ihnat
On Thu, Jan 02, 2003 at 07:05:30PM +0100, cana rich wrote: > I am using Linux RedHat7.2 and i would like to know how to list > the content of a directory (as dir or ls) in C program? As Tom Burke wrote, you could do a 'system("ls")'. A more programmatic solution would be via to use the traditiona

RE: HOW TO : list a directory in C ?

2003-01-02 Thread Burke, Thomas G.
Title: RE: HOW TO : list a directory in C ? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 system( "ls" ) - -Original Message- From: cana rich [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 1:06 PM To: [EMAIL PROTECTED] Subject: HOW TO : list a dire

HOW TO : list a directory in C ?

2003-01-02 Thread cana rich
Hello,    I am using Linux RedHat7.2 and i would like to know how to list the content of a directory (as dir or ls) in C program? Thanks for your help. CanarichDo You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail