Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




next up previous contents
Next: 10.2.3 signal under Linux Up: 10.2 Signal handling Previous: 10.2.1 Signals under SVR4

10.2.2 Linux signal options

The following values for the sa_flags member of the sigaction structure are defined for Linux.

  • SA_NOCLDSTOP: Don't send SIGCHLD when a child process is stopped.
  • SA_RESTART: Force restart of certain system calls when interrupted by a signal handler.
  • SA_NOMASK: Disable signal mask (which blocks signals during execution of a signal handler).
  • SA_ONESHOT: Clear signal handler after execution. Note that SVR4 uses SA_RESETHAND to mean the same thing.
  • SA_INTERRUPT: Defined under Linux, but unused. Under SunOS, system calls were automatically restarted, and this flag disabled that behavior.
  • SA_STACK: Currently a no-op, to be used for signal stacks.

Note that POSIX.1 defines only SA_NOCLDSTOP, and there are several other options defined by SVR4 not available under Linux. When porting applications which use sigaction, you may have to modify the values of sa_flags to get the appropriate behavior.



Converted on:
Fri Mar 29 14:43:04 EST 1996


With any suggestions or questions please feel free to contact us