Template:Infobox Signal

From RoboWiki
Jump to: navigation, search
{{#if:||| colspan="2" | None {{#if:|! {{{1}}} {{#if:|! {{{3}}} {{#if:|! {{{5}}} {{#if:|! {{{7}}} {{#if:|! {{#if:|! {{#if:|! {{#if:|!
Infobox Signal
Description: no description
Default action: no action indicated
SA_SIGINFO macros
{{{2}}}
{{{4}}}
{{{6}}}
{{{8}}}

Template:-

Usage

This infobox belongs on pages about POSIX and other signals. If there are any codes associated with the signal, specify them in a list after the named parameters to the infobox.

{{Infobox Signal
| name        =
| description =
| action      =
| SigInfo1    | Meaning1
| SigInfo2    | Meaning2
| …
| SigInfo8    | Meaning8
}}

Parameters

name
(Optional) The name of the signal. If this parameter is omitted, the article title is used.
description
Brief description of what the signal means
action
The default action that occurs if the signal is not caught and handled
SA_SIGINFO macros
A list of pairs of reason codes and their meanings. The template supports up to eight pairs.

See also