home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!gatech!rpi!utcsri!geac!lethe!druid!pseudo!mjn
- From: mjn@pseudo.uucp (Murray Nesbitt)
- Subject: Re: What function should I used to get directory information?
- Organization: Private system in Toronto, ON
- Date: Fri, 1 Jan 1993 09:39:23 GMT
- Message-ID: <MJN.93Jan1043923@pseudo.uucp>
- Lines: 9
- In-Reply-To: cl820@cleveland.Freenet.Edu's message of 29 Dec 1992 20:49:53 GMT
- References: <1hqdliINN6cu@usenet.INS.CWRU.Edu>
- Sender: mjn@pseudo.uucp (Murray Nesbitt)
-
-
- cl820@cleveland.Freenet.Edu (Wei Jin Mai) writes:
-
- > 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.
-
- Use stat() in conjunction with opendir() and readdir().
-
- --
- Murray
-