Mapping of unix signal names and numbers

Overview

Definition of the mapping functions. More…

// global functions

int map_name_to_signo(const char* name);
char* map_signo_to_name(int signo);

Detailed Documentation

Definition of the mapping functions.

Copyright (C) 2004-2022 OKTET Labs Ltd. All rights reserved.

Global Functions

int map_name_to_signo(const char* name)

Map signal name to the number

Parameters:

name

Name of the signal

Returns:

Signal number or -1 in case of error

char* map_signo_to_name(int signo)

Map signal number to the name

Parameters:

signo

Number of the signal

Returns:

Signal name or NULL