Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

IOS_$SET_DIR                      Domain/OS                       IOS_$SET_DIR


NAME
     ios_$set_dir - change the current working or naming directory

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

     void ios_$set_dir(
          char *pathname,
          pinteger &namelength,
          ios_$dir_type_t &dir_type,
          status_$t *status)

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

     procedure ios_$set_dir(
          in pathname: univ name_$long_pname_t;
          in namelength: pinteger;
          in dir_type: ios_$dir_type_t;
          out status: status_$t);

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

           integer*2 name_length, dir_type
           integer*4 status
           character pathname*1023

           call ios_$set_dir(pathname, name_length, dir_type, status)

DESCRIPTION
     Ios_$set_dir changes the current working or naming directory.

     pathname
          The pathname of the new current working directory or new naming
          directory.

     namelength
          The number of bytes in pathname.

     dir_type
          The type of directory to set.  Specifiy one of the following:

          ios_$ndir
               Set the current naming directory.

          ios_$wdir
               Set the current working directory.

     status
          The completion status.

NOTES
     A process can call ios_$get_dir to find out the current working directory
     or naming directory.

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