Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PRF_$INQ_OPTION                   Domain/OS                    PRF_$INQ_OPTION


NAME
     prf_$inq_option - get a print request option

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

     void prf_$inq_option(
          char *option,
          short *option_length,
          num_var_t *number_value,
          char *string_value,
          short *string_length,
          status_$t *status)

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

     procedure prf_$inq_option(
          var option: univ string;
          var option_length: integer;
          out number_value: num_var_t;
          out string_value: univ string;
          out string_length: integer;
          out status: status_$t)

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

           integer*2 opt_len
           parameter (opt_len = 120)

           integer*2 option_length, string_length
           integer*4 number_value, status
           character option*(opt_len), string_value*256

           call prf_$inq_option(option, option_length, number_value,
          &                     string_value, string_length, status)

DESCRIPTION
     This call gets the string and numeric value for the option specified in
     option.

     option
          The name of the option inquired about.

     option_length
          The number of bytes in option.

     number_value
          The numeric value of the option requested in option.

     string_value
          The string value of the option requested in option.

     string_length
          The number of bytes in string_value.

     status
          The completion status.

SEE ALSO
     prf_$config_file, prf_$set_option.




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