home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: haug@grok20.columbiasc.NCR.COM ("Brian R. Haug")
-
- In article <1992Mar24.042302.25869@uunet.uu.net> gwyn@smoke.brl.mil (Doug Gwyn) writes:
- >Submitted-by: gwyn@smoke.brl.mil (Doug Gwyn)
- >
- >rewinddir() is more important, because it IS required by 1003.1. The only
- >way I know of to implement it on a system that doesn't support lseek() to
- >the beginning (only!) of an open directory is to record the full pathname
- >at opendir() time and use this information to reopen the directory (after
- >closing the current fd).
-
- A co-worker suggested that perhaps the real problem is that rewinddir and
- seekdir are of type void and should have some other type so that they may
- return an error condition (like the one I'm having to deal with).
-
- When Andy Tannenbaum (sp?) remarked "Standards are wonderful, there are so
- many to choose from." He obviously was not in the implementor's shoes!
-
- Share and Enjoy!
-
- Brian
-
-
- Volume-Number: Volume 27, Number 40
-
-