Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

ERROR_$STD_FORMAT                 Domain/OS                  ERROR_$STD_FORMAT


NAME
     error_$std_format - print a standard error message

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

     void error_$std_format(
          status_$t &status,
          error_$string_t control_string,
          ...)

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

     procedure error_$std_format(
          in status: univ status_$t;
          in control_string: univ error_$string_t;
          in a1,a2,a3,a4,a5,a6,a7,a8,a9,a10: univ error_$integer32);

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

           integer*2 nchar
           parameter (nchar = 128)

           integer*4 status
           character control_string*(nchar)

           integer*4 a1, a2, a3, a4, a5, a6, a7, a8, a9, a10

           call error_$std_format(status, control_string, a1, a2, a3, a4,
          &                       a5, a6, a7, a8, a9, a10)

DESCRIPTION
     Error_$std_format writes a standard error message using the values
     defined by the last call to error_$std_format, followed by the text
     defined by control_string and the rest of the arguments.  Programs using
     error_$std_format must use error_$init_std_format to establish the con-
     tents of the various fields of a standard error message before calling
     error_$std_format.

     status
          A status code from a Domain/OS call.

     control_string
          A Variable Formatter (VFMT) control string for formatting the rest
          of the arguments.

     a1, a2, ... a10
          Up to 10 arguments to be formatted using control_string.  There must
          be a format directive in control_string for each argument to be
          printed.

SEE ALSO
     vfmt_$intro.

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