Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tnfctl_strerror(3X) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

prex(1)

TNF_PROBE(3X)

libtnfctl(3X)

tracing(3X)

attributes(5)

tnfctl_strerror(3X)

NAME

tnfctl_strerror − map a tnfctl error code to a string

SYNOPSIS

cc [ flag ... ] file ... −ltnfctl [ library ... ]

#include <tnf/tnfctl.h>

const char ∗ tnfctl_strerror(tnfctl_errcode_t errcode);

DESCRIPTION

tnfctl_strerror() maps the error number in errcode to an error message string, and it returns a pointer to that string.  The returned string should not be overwritten or freed. 

ERRORS

tnfctl_strerror() returns the string "unknown libtnfctl.so error code" if the error number is not within the legal range. 

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Availability SUNWtnfc
MT Level MT-Safe

SEE ALSO

prex(1), TNF_PROBE(3X), libtnfctl(3X), tracing(3X), attributes(5)

Programming Utilities Guide

SunOS 5.6  —  Last change: 4 Mar 1997

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