Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* 2 questions: VAX-C RTL calls and VMS .DIR file entries
@ 1987-06-10 19:00 Bert Still
  1987-06-12 20:45 ` .. " Robert J. Drabek
  1987-06-26 14:05 ` 2 questions: VAX-C RTL calls " Jim Patterson
  0 siblings, 2 replies; 4+ messages in thread
From: Bert Still @ 1987-06-10 19:00 UTC (permalink / 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             #
                                     #
--------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1987-06-26 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1987-06-10 19:00 2 questions: VAX-C RTL calls and VMS .DIR file entries Bert Still
1987-06-12 20:45 ` .. " Robert J. Drabek
1987-06-15 15:56   ` rcb
1987-06-26 14:05 ` 2 questions: VAX-C RTL calls " Jim Patterson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox