[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::axp-developer

Title:Alpha Developer Support
Notice:[email protected], 800-332-4786
Moderator:HYDRA::SYSTEM
Created:Mon Jun 06 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3722
Total number of notes:11359

3381.0. "Imperial Software Technology - Point 23709" by RDGENG::ASAP () Fri Mar 21 1997 10:59

    Company Name :  Imperial Software Technology - Point 23709
    Contact Name :  Andrew Davis
    Phone        :  01734 587 055
    Fax          :   01734 589 005
    Email        :  [email protected]
    Date/Time in :  21-MAR-1997 15:59:10
    Entered by   :  Ian Chamberlin
    SPE center   :  REO

    Category     :  vms
    OS Version   :  6.1
    System H/W   :  


    Brief Description of Problem:
    -----------------------------

From:	ESSB::ESSB::MRGATE::"ILO::ESSC::gaillat" 21-MAR-1997 15:49:19.55
To:	RDGENG::ASAP
CC:	
Subj:	ESCALATION: POINT No23709 Company TO ASAP READING:   Imperial Software Technology

From:	NAME: ESCTECH@ILO          
	TEL: (822-)6704          
	ADDR: ILO                  <gaillat@ESSC@ILO>
To:	ASAP@RDGENG@MRGATE


Hello - 

POINT Log Number	 23709

Company Name 	Imperial Software Technology

Engineers name	Andrew Davis

Telephone Number 	01734 587 055	

Fax Number		01734 589 005

E-mail Address	[email protected]	

Operating System, Version	VMS 6.1

Platform			DEC 3000

Problem Statement		

They are using C Commands. 
They want to call open dir and read dir 

However dir ent.h is not available in DEC C compiler.

Is that normal? How can they call the commands?


Regards,

Thomas Gaillat




*************************************************************************
* Thomas Gaillat		   Pre-Sale Technical Support Associate *
* European Customer Service Centre		   FAX:    DTN 822 4445 *
* Digital Equipment International B.V.		   Phone:  DTN 822 4318 *
*								        *
*	    For Technical Enquiries, use our FREEPHONE number		*
* 		    or E-Mail: [email protected] 			*
*	       Our FREEPHONE numbers are available on request.		*
*************************************************************************

T.RTitleUserPersonal
Name
DateLines
3381.1need OpenVMS v7.0 or greaterRDGENG::WOOD_J[email protected]Mon Mar 24 1997 03:1469
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.