Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ strsignal(3C) — SunOS 5.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gettext(3I)

psignal(3C)

setlocale(3C)

strsignal(3C)

NAME

strsignal − get error message string

SYNOPSIS

#include <string.h>

char ∗strsignal(int sig);

MT-LEVEL

Safe

DESCRIPTION

strsignal() maps the signal number in sig to a string describing the signal, and returns a pointer to that string.  strsignal() uses the same set of the messages as psignal(3C).  The returned string should not be overwritten. 

SEE ALSO

gettext(3I), psignal(3C), setlocale(3C)

NOTES

If the application is linked with −lintl, then messages returned from this function are in the native language specified by the LC_MESSAGES locale category; see setlocale(3C). 

Sun Microsystems  —  Last change: 22 Jan 1993

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