Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vlGetErrno(3dm) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



VLPERROR(3dm)                                                    VLPERROR(3dm)



NAME
     vlPerror, vlStrError, vlGetErrno, vlErrno - VL error routines

SYNOPSIS
     #include <dmedia/vl.h>

     void vlPerror(const char *str);
     char *vlStrError(int errnum);
     int vlGetErrno(void);
     int vlErrno;

PARAMETERS
     str      String to be prefixed before error message.

     errnum   VL error number.

DESCRIPTION
     vlPerror takes a pointer to a character array containing message to be
     printed along with the message associated with the error number in
     vlPerror and prints both on stderr.

     vlStrError takes a value representing the error number and returns the
     string representing the VL error number specified.

     vlGetErrno returns the per-process VL error number for the calling
     thread. The internal setting and public retrieval of the VL error value
     is guaranteed to be thread-safe.

     vlErrno is a global variable set in the library when an error has
     occured. This should not be directly accessed, instead use the vlGetErrno
     call. This variable is maintained for compatibility only. Unlike the
     values returned by vlGetErrno, vlErrno is not a per-thread value.

RETURN VALUE
     vlStrError returns a pointer to a character array representing the
     description of the VL error number specified.



















                                                                        Page 1



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