A From:	SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM"  3-MAY-1993 08:58:49.41  To:	EVERHART CC:	" Subj:	Re: Summary: shell$ routines   X-Newsgroups: comp.os.vms % Subject: Re: Summary: shell$ routines 0 Message-ID: <1993May3.102403.266@kalle.impab.se>* From: glz@kalle.impab.se (Goran Lowkrantz) Date: 3 May 93 10:02:17 GMT . Organization: IM Program AB, Stockholm, Sweden
 Lines: 193 To: Info-VAX@KL.SRI.COM  X-Gateway-Source-Info: USENET   K In article <1rn5pp$ftb@lll-winken.llnl.gov>, oberman@ptavv.llnl.gov writes: 7 > In Article <1993Apr28.191729.9237@dbased.nuo.dec.com> 2 > lionel@quark.enet.dec.com (Steve Lionel) writes: > E >>These routines are actually part of the VAX C RTL, and though they  F >>are listed in Table B-2 (VAX C Run-Time Library Entry Points) in theP >>VAX C Run-Time Library Reference Manual, the VAX C engineers have told me thatO >>they consider these routines to be unsupported for customer use and that they ? >>are not present in the DEC C RTL.  Use them at your own risk.  > P > Hate to tell you this, Steve, but I used them (and found a bug in them) on the< > Alpha (V1.0) which is DEC C. Anyone want to check on V1.5? > ; > R. Kevin Oberman			Lawrence Livermore National Laboratory - > Internet: koberman@llnl.gov		(510) 422-6955  > L > Disclaimer: Being a know-it-all isn't easy. It's especially tough when you4 > don't know that much. But I'll keep trying. (Both)  I In the DEC C FT there are the equivalent in a series of decc$* functions.    From the help file:  ------------------  
 C_RTL_FT_HELP      Run-time_functions       decc$from_vms   J        Converts VMS file specifications to UNIX-style file specifications.          Syntax:                #include <unixlib.h>  F             int decc$from_vms (char * vms_filespec, int wild_flag, int             action_routine);      
 C_RTL_FT_HELP      Run-time_functions       decc$match_wild   %        Matches a string to a pattern.           Syntax:                #include <unixlib.h>  J             int decc$match_wild (char *test_string, char *string_pattern);      
 C_RTL_FT_HELP      Run-time_functions       decc$to_vms   J        Converts UNIX-style file specifications to VMS file specifications.          Syntax:                #include <unixlib.h>  J             int decc$to_vms (char *unix-style_filespec, int wild_flag, int             action_routine);      
 C_RTL_FT_HELP      Run-time_functions       decc$translate_vms  <        Translates VMS file specifications to UNIX-style file        specifications.          Syntax:                #include <unixlib.h>  :             char *decc$translate_vms (char *vms_filespec);      
 C_RTL_FT_HELP      Run-time_functions       decc$fix_time   =        Converts VMS binary system times to UNIX binary times.           Syntax:                #include <unixlib.h>  7             unsigned int decc$fix_time (int *vms_time);       
 C_RTL_FT_HELP      Run-time_functions       decc$record_read  H        Provides additional flexibility in manipulating and observing RMSC        structures on a per-read basis.  This function is inherently @        VMS-specific and should not be used when writing portable        applications.          Syntax:               #include <stdio.h>  9             int decc$record_read (FILE *fp, void *buffer, 3                                   int nbytes, ...);       
 C_RTL_FT_HELP      Run-time_functions       decc$record_write   H        Provides additional flexibility in manipulating and observing RMS'        structures on a per-write basis.           Syntax:               #include <stdio.h>  :             int decc$record_write (FILE *fp, void *buffer,4                                    int nbytes, ...);      
 C_RTL_FT_HELP      Run-time_functions       decc$set_reentrancy   H        Controls the type of reentrancy that reentrant DEC C RTL routines        will exhibit.  ,        (See also the /REENTRANCY qualifier.)          Syntax:  #             #include <reentrancy.h>   /             int decc$set_reentrancy (int type);   0        Use one of the following values for type:           o  C$C_AST (AST)  C            Uses the _BBSSI builtin to perform simple locking around I            critical sections of RTL code, and it may additionally disable F            asynchronous system traps (AST)s in locked regions of code.E            This type of locking should be used when AST code contains +            calls to DEC C RTL I/O routines.   (         o  C$C_MULTITHREAD (multithread)  J            Designed to be used in conjunction with the DECthreads product.B            It performs DECthreads locking and never disables ASTs.J            DECthreads must be available on your system to use this form of            reentrancy.  "         o  C$C_TOLERANT (tolerant)  C            Uses the _BBSSI builtin to perform simple locking around J            critical sections of RTL code, but ASTs are not disabled.  ThisH            type of locking should be used when ASTs are used and must beE            delivered immediately.  TOLERANT is the default reentrancy             type.   --    J   Goran Lowkrantz           Email    : glz@impab.se Tel: Nat    08-6507525J   IM Program AB             CompuServ: 100030,347        Int +46 8 6507525J   Fleminggatan 56                                   Fax: Nat    08-6502870J S-112 45 Stockholm,  Sweden                              Int +46 8 6502870  