Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ Cif_Errstring(3) — Sun WorkShop 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Cif(3)

Cif_Close(3)

Cif_Duplicate(3)

Cif_Free(3)

Cif_Getpos(3)

Cif_Getrecord(3)

Cif_Memmode(3)

Cif_Msginsert(3)

Cif_Open(3)

Cif_Release(3)

Cif_Setpos(3)

Cif_Getfiledir(3)

Cif_Getunitdir(3)

Cif_Recgroup(3)

cifconv(1)

CIF_ERRSTRING(3)

NAME

Cif_Errstring - Gets a string describing an error condition

SYNOPSIS

#define CIF_VERSION 2
#include <cif.h>
 char ∗Cif_Errstring (status);
int status;

IMPLEMENTATION

All Sun SPARC systems

DESCRIPTION

The Cif_Errstring routine returns a pointer to a string that describes the condition that is associated with the input compiler information file (CIF) status value. 

CIF_VERSION defines the library version.  The default is 1.  The newest version is 2 and should be used with this routine. 

See the Cif(3) man page for a discussion about CIF information, format, and versions. 

RETURN VALUES

The Cif_Errstring routine returns a pointer to a string that describes the standard CIF status values. 

EXAMPLES

The following example, when used in a program, prints a string that describes the condition associated with a status value: int mystatus;      .       .       .  printf ("CIF error is %s\n", Cif_Errstring(mystatus));      .       .       . 

SEE ALSO

Cif(3) for general information about CIFs
Cif_Close(3), Cif_Duplicate(3), Cif_Free(3), Cif_Getpos(3), Cif_Getrecord(3), Cif_Memmode(3), Cif_Msginsert(3), Cif_Open(3), Cif_Release(3), Cif_Setpos(3) for information about general CIF library routines
Cif_Getfiledir(3), Cif_Getunitdir(3), Cif_Recgroup(3) for information about binary-format specific CIF library routines

cifconv(1) for information about ASCII to binary format conversion in the

Compiler information file CIF Compiler information Compiler listings

SunOS 3.0.1  —  Last change:

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