O nás     Inzerce     KontaktSpolehlivé informace o IT již od roku 2011
Hledat
Nepřehlédněte: Usnadní vám práci: Pozoruhodné IT produkty pro rok 2024
Správa dokumentů
Digitální transformace
Informační systémy
Hlavní rubriky: Informační systémy, Mobilní technologie, Datová centra, Sítě, IT bezpečnost, Software, Hardware, Zkušenosti a názory, Speciály

Pozoruhodné IT produkty 2024
E-knihy o IT zdarma
Manuál Linux
[Linux manuál]

sigblock, siggetmask, sigsetmask, sigmask: manipulovat s maskou signálu

Originální popis anglicky: sigblock, siggetmask, sigsetmask, sigmask - manipulate the signal mask

Návod, kniha: Linux Programmer's Manual

STRUČNĚ

#include <signal.h>
 
int sigblock(int mask);
 
int siggetmask(void);
 
int sigsetmask(int mask);
 
int sigmask(int signum);

POPIS / INSTRUKCE

This interface is made obsolete by sigprocmask(2).
 
The sigblock system call adds the signals specified in mask to the set of signals currently being blocked from delivery.
The sigsetmask system call replaces the set of blocked signals totally with a new set specified in mask. Signals are blocked if the corresponding bit in mask is a 1.
The current set of blocked signals can be obtained using siggetmask.
The sigmask macro is provided to construct the mask for a given signum.
 

NÁVRATOVÁ HODNOTA

siggetmask returns the current set of masked signals.
 
sigsetmask and sigblock return the previous set of masked signals.

NOTES

Prototypes for these functions are only available if _BSD_SOURCE is defined before the inclusion of any system header file.
It is not possible to block SIGKILL or SIGSTOP - this restriction is silently imposed by the system.
 

ODPOVÍDAJÍCÍ

4.4BSD. These function calls appeared in BSD 4.3 and are deprecated. Use the POSIX signal facilities for new programs.

SOUVISEJÍCÍ

kill(2), sigprocmask(2), signal(7)
1995-08-31 Linux 1.3
©2011-2024 BusinessIT.cz, ISSN 1805-0522 | Názvy použité v textech mohou být ochrannými známkami příslušných vlastníků.
Provozovatel: Bispiral, s.r.o., kontakt: BusinessIT(at)Bispiral.com | Inzerce: Best Online Media, s.r.o., zuzana@online-media.cz
O vydavateli | Pravidla webu BusinessIT.cz a ochrana soukromí | Používáme účetní program Money S3 | pg(8224)