home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 16050 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  995 b 

  1. Path: sparky!uunet!europa.eng.gtefsd.com!gatech!paladin.american.edu!howland.reston.ans.net!usc!cs.utexas.edu!tamsun.tamu.edu!tamsun.tamu.edu!news
  2. From: rlm7638@tamsun.tamu.edu (Jack McKinney)
  3. Newsgroups: comp.unix.questions
  4. Subject: scanning directory
  5. Date: 28 Jan 1993 13:22:33 -0600
  6. Organization: Texas A&M University, College Station, TX
  7. Lines: 9
  8. Distribution: na
  9. Message-ID: <1k9bppINN8b3@tamsun.tamu.edu>
  10. NNTP-Posting-Host: tamsun.tamu.edu
  11.  
  12.     It is fairly easy from a program to determine if a file exists, but
  13. suppose I wanted to determine if a given directory is empty or not? What
  14. would be the easiest way to do this from C?
  15.  
  16. +---------------------------------------------+-------------------------+
  17. | You can tell how far we have to go, when    | Jack McKinney           |
  18. | FORTRAN is the language of supercomputers.  | jmckinney@tamu.edu      |
  19. |         -- Steven Feiner              |                         |
  20. +---------------------------------------------+-------------------------+
  21.