Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

IOS_$INQ_FILE_ATTR                Domain/OS                 IOS_$INQ_FILE_ATTR


NAME
     ios_$inq_file_attr - get file attributes

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

     void ios_$inq_file_attr(
          ios_$id_t &stream_id,
          time_$clockh_t *dt_created,
          time_$clockh_t *dt_modified,
          time_$clockh_t *dt_used,
          long *blocks,
          status_$t *status)

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

     procedure ios_$inq_file_attr(
          in stream_id: ios_$id_t;
          out dt_created: time_$clockh_t;
          out dt_modified: time_$clockh_t;
          out dt_used: time_$clockh_t;
          out blocks: integer32;
          out status: status_$t);

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

           integer*2 stream_id
           integer*4 dt_created, dt_modified, dt_used, blocks, status

           call ios_$inq_file_attr(stream_id, dt_created, dt_modified,
          &                        dt_used, blocks, status)

DESCRIPTION
     Ios_$inq_file_attr gets the time stamp for the object open on stream_id
     in dt_created, dt_modified, and dt_used.  The amount of storage the
     object occupies in the file system is returned in blocks.

     stream-id
          The ID of the stream on which the object is open.

     dt_created
          The date and time the object was created.

     dt_created
          The date and time the object was last modified.

     dt_used
          The date and time the object was last used.

     blocks
          The number of blocks that the object occupies.

     status
          The completion status.

SEE ALSO
     ios_$inq_conn_flags, ios_$inq_mgr_flags, ios_$inq_obj_flags.

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