Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tt_is_err(3) — SunOS 5.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Tttt_c(5)

tt_is_err(3)

NAME

tt_is_err − check status value

SYNOPSIS

#include <Tt/tt_c.h>
int tt_is_err(Tt_status s);

DESCRIPTION

The tt_is_err() function checks whether a status value is a warning or an error.

The s argument is the Tt_status code to check. 

RETURN VALUE

Upon successful completion, the tt_is_err() function returns one of the following integers:

0 The Tt_status is either a warning or TT_OK. 

1 The Tt_status is an error. 

SEE ALSO

Tttt_c(5). 

SunOS 5.5  —  Last change: 11 May 1994

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