Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME_$GET_NDIR_LC                 Domain/OS                  NAME_$GET_NDIR_LC


NAME
     name_$get_ndir_lc - get the naming directory

SYNOPSIS (C)
     #include <apollo/base.h>
     #include <apollo/name.h>

     void name_$get_ndir_lc(
          unsigned short &max_len,
          char *naming_directory,
          unsigned short *name_length,
          status_$t *status)

SYNOPSIS (Pascal)
     %include '/sys/ins/base.ins.pas';
     %include '/sys/ins/name.ins.pas';

     procedure name_$get_ndir_lc(
          in max_len: integer;
          out naming_directory: univ name_$long_pname_t;
          out name_length: integer;
          out status: status_$t);

SYNOPSIS (FORTRAN)
     %include '/sys/ins/base.ins.ftn'
     %include '/sys/ins/name.ins.ftn'

           integer*4 status
           integer*2 max_len, name_length
           character naming_directory*1023

           call name_$get_ndir_lc(max_len, naming_directory,
          &                       name_length, status)

DESCRIPTION
     Name_$get_ndir_lc supplies up to max_len bytes of the full pathname of
     the current naming directory in naming_directory.

     max_len
          The size of the buffer allocated to receive naming_directory.
          Name_$get_ndir_lc will not put more than max_len bytes in
          naming_directory.

     naming_directory
          The absolute pathname of the current naming directory, beginning at
          the network root.

     name_length
          The number of bytes in the naming directory's name.  If name_length
          is greater than the buffer size passed in max_len, then the pathname
          supplied in naming_directory is truncated.

     status
          The completion status.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026