SIGURG
From Wikipedia, the free encyclopedia
|
|||||
|
SA_SIGINFO macros
|
|||||
|---|---|---|---|---|---|
| None
|
|||||
On POSIX-compliant platforms, SIGURG is the signal thrown by computer programs when a socket has urgent data available to read. In source code, SIGURG is a symbolic constant defined in the header file signal.h. Symbolic signal names are used because signal numbers can vary across platforms.
[edit] Etymology
SIG is a common prefix for signal names. URG is an abbreviation for urgent.
[edit] Usage
The SIGURG signal is sent to a process employing the asynchronous I/O capabilities offered by the F_SETOWN argument to the fcntl system call on Linux and BSD when out-of-band data is available on a file descriptor connected to a socket. (Such out-of-band data can be read with the recv system call.)
|
||||||||

