| Date: 24-MAR-1997 08:11:13.22
From: DEC:.REO.REOVTX::WOOD_J "[email protected]"
Subj: Digital ASAP #23709: opendir() from OpenVMS
To: smtp%"[email protected]"
I understand you want to call the UNIX-like C functions of opendir() and
readdir() using DEC C on OpenVMS Alpha.
These functions have only recently been added to DEC C for OpenVMS. That is,
if you use DEC C v5.2 or greater on OpenVMS v7.0 or greater you can call
these functions.
From the DEC C v5.2 for OpenVMS Alpha release notes:
+++
5.2 Changes in DEC C RTL Header Files for V5.2 of DEC C/C++
The release notes in this section describe changes to the
header files shipped with DEC C V5.2 for OpenVMS Systems.
These header files contain enhancements and changes made to
the DEC C Run-Time Library for OpenVMS Systems.
New function prototypes and structure definitions which
define new functionality in the DEC C Run-Time Library
correspond to new functionality added to the DEC C Run-Time
Library which is shipped with OpenVMS V7.0.
o New Header Files Added
A total of 20 new header files were added to the DEC C
RTL suite of header files. Header files were added for
implementation of Amendment 1 of the ISO C standard,
compatibility with UNIX systems, and for introduction of
new functions. Table 1 lists those headers added for DEC
C V5.2.
Table_1_New_DEC_C_V5.2_Header_Files________________________
Header
File________Description____________________________________
<dirent.h> Directory Manipulation Functions
<ftw.h> File Tree Walking
<if.h> Socket Packet Transport Mechanism
<if_arp.h> Socket Address Resolution Protocol
<ioctl.h> I/O Controls for Special Files
<iso646.h> Alternative Spelling for Language Tokens
<libgen.h> Filename Manipulation
<memory.h> String Handling
---
If you require opendir() etc. for earlier versions of OpenVMS then you'll
have to write your own.
Regards,
John Wood [email protected]
Software Partner Engineering (UK)
Digital Equipment Co.
|