home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / question / 15028 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  834 b 

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