The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

sigsetmask (2)
  • sigsetmask (2) ( FreeBSD man: Системные вызовы )
  • sigsetmask (2) ( Русские man: Системные вызовы )
  • >> sigsetmask (2) ( Linux man: Системные вызовы )
  • sigsetmask (3) ( Linux man: Библиотечные вызовы )
  •  

    NAME

    sigblock, siggetmask, sigsetmask, sigmask - manipulate the signal mask
     
    

    SYNOPSIS

    #include <signal.h>

    int sigblock(int mask);

    int siggetmask(void);

    int sigsetmask(int mask);

    int sigmask(int signum);  

    DESCRIPTION

    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.

     

    RETURN VALUE

    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.

     

    CONFORMING TO

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

    SEE ALSO

    kill(2), sigprocmask(2), signal(7)


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUE
    NOTES
    CONFORMING TO
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру