From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,926374546ef4c3cd,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-15 12:24:17 PST Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!cs.uoregon.edu!news.uoregon.edu!netnews.nwnet.net!pnl-oracle!pnl-bbs!rg240 From: rg240@fermi.pnl.gov (Adrian Wong) Newsgroups: comp.unix.osf.osf1 Subject: Reentrant dir routines Date: 15 Feb 1994 20:24:17 GMT Organization: Battelle Pacific Northwest Laboratories Message-ID: <2jrb1h$ndm@bbs.pnl.gov> NNTP-Posting-Host: fermi.pnl.gov X-Newsreader: TIN [version 1.2 PL2] The OSF1 manpage page lists two reentrant versions of opendir and readdir. However, on AXP's and KSR's, I can only find the readdir_r object (in libc_r.a). Where's opendir_r?? Keeping a table of DIR * pointers open I thought would not be so difficult to implement. I am sure that you need the reentrant version of opendir (I've tested it). Without it, readdir_r is useless. -- ------------------------------------------------------------------- Adrian Wong | MSIN K1-90, Molecular Science Research Center | Pacific Northwest Laboratory, PO Box 999 at_wong@pnl.gov | Richland, WA 99352