home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!cleveland.Freenet.Edu!cl820
- From: cl820@cleveland.Freenet.Edu (Wei Jin Mai)
- Newsgroups: comp.unix.questions
- Subject: What function should I used to get directory information?
- Date: 29 Dec 1992 20:49:53 GMT
- Organization: Case Western Reserve University, Cleveland, Ohio (USA)
- Lines: 9
- Message-ID: <1hqdliINN6cu@usenet.INS.CWRU.Edu>
- NNTP-Posting-Host: hela.ins.cwru.edu
-
-
- I am a DOS programmer. Now I am porting a utility to unix. My program
- uses findfirst() and findnext() to gether information about all directory in
- MS_DOS. Are there any equivalent function in unix that allow me to search
- directory. I have tried opendir() and readdir(). There functions don't
- provide much information beside directory name. I want to the permission bits
- , the group id and user id.
-
- --
-