From: still@usceast.UUCP (Bert Still)
Subject: 2 questions: VAX-C RTL calls and VMS .DIR file entries
Date: Wed, 10-Jun-87 15:00:12 EDT [thread overview]
Message-ID: <2405@usceast.UUCP> (raw)
Hi There,
I have 2 (possibly) strange questions for netland. The first concerns
the VAX-C run-time library. Listed in the VAX-C manual are references to some
run-time functions that are otherwise undocumented. I did a lib/list on the
VAXCRTL.OLB file and verified that the following routines do exist:
shell$from_vms -- translate VMS filespecs to UNIX filespecs
shell$to_vms -- translate UNIX filespecs to VMS filespecs
shell$cli_name -- determine user's command interpreter
shell$fix_time -- convert VMS time to UNIX format
shell$clint -- interface to argument lists under shell
shell$wild -- wildcard expansion to infinite names.
Does anyone have a copy of the correct calling sequences for these ? (I have
tried to experiment, and can guess at some of the arguments, like string
descriptors, etc. but I cannot seem to get them all.) We do not run DEC/Shell
(yet, we probably will buy it in the future), and I suspect that the answer
lies therein. In the meantime, can some kind soul please send me a copy of
the calling sequences to any/all of the above?
The second question concerns VMS directories. I have perused the
"orange manuals" for the last two weeks looking for something that describes
the VMS directory files' organization. So far, by dumping the contents of
several .DIR files, I have determined that the entries begin with 32767, and
filenames are followed by an ASCII null (\0), and that the version number
immediately follows the filename. Does anyone have a complete description of
an entry in a .DIR file, or know where I can find the information?
(For the curious, I am trying to convert some systems programs that I have
from BSD UNIX to run under VMS, and I need the OPENDIR, READDIR, CLOSEDIR, and
IOCTL functions; hence, I am trying to write them, and meeting with little
success... any help will be greatly appreciated.)
PS. If anyone has any of these functions written for VMS, I would be extremely
appreciative of any advice/aid I might receive.
Bert 8-}
--------------------------------------------------------------------------------
What DesCartes really meant was "I think; therefore, I am paid."
--------------------------------------------------------------------------------
("shar" is actually an ancient term meaning "some assembly required.")
--------------------------------------------------------------------------------
#
UUCP: {...ihnp4!akgua | # US SNAIL: Bert Still
...seismo!ncr-sd!ncrcae} # Dept of Mathematics
!usceast!still # University of South Carolina
# Columbia, SC 29208
BITNET: T410119@UNIVSCVM #
#
--------------------------------------------------------------------------------
next reply other threads:[~1987-06-10 19:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1987-06-10 19:00 Bert Still [this message]
1987-06-12 20:45 ` .. and VMS .DIR file entries Robert J. Drabek
1987-06-15 15:56 ` rcb
1987-06-26 14:05 ` 2 questions: VAX-C RTL calls " Jim Patterson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox