sysv_signal − signal handling with System V semantics
_GNU_SOURCE /* See feature_test_macros(7) */
typedef void (*sighandler_t)(int);
sighandler_t sysv_signal(int signum, sighandler_t handler);
The sysv_signal() function takes the same arguments, and performs the same task, as signal(2).
However sysv_signal() provides the System V unreliable signal semantics, that is: a) the disposition of the signal is reset to the default when the handler is invoked; b) delivery of further instances of the signal is not blocked while the signal handler is executing; and c) if the handler interrupts (certain) blocking system calls, then the system call is not automatically restarted.
The sysv_signal() function returns the previous value of the signal handler, or SIG_ERR on error.
As for signal(2).
The sysv_signal() function is thread-safe.
This function is nonstandard.
Use of sysv_signal() should be avoided; use sigaction(2) instead.
The use of sighandler_t is a GNU extension; this type is defined only if the _GNU_SOURCE feature test macro is defined.
This page is part of release 3.69 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at http://www.kernel.org/doc/man−pages/.
More Linux Commands
intel_upload_blit_large_map(1) - microbenchmark of Intel GPU
intel_upload_blit_large_map is a microbenchmark tool for DRM performance. It should be run with kernel modesetting enabled, and may require root privilege for c
trivial-rewrite(8) - Postfix address rewriting and resolving
The trivial-rewrite(8) daemon processes three types of client service requests: rewrite context address Rewrite an address to standard form, according to the ad
glColor4dv(3gl) - set the current color - Linux manual page
The GL stores both a current single-valued color index and a current four-valued RGBA color. glColor sets a new four-valued RGBA color. glColor has two major va
aio_write(3) - asynchronous write - Linux manual page.......
The aio_write() function queues the I/O request described by the buffer pointed to by aiocbp. This function is the asynchronous analog of write(2). The argument
ber_alloc_t(3) - OpenLDAP LBER simplified Basic Encoding Rul
ber_alloc_t.3 - These routines provide a subroutine interface to a simplified implementation of the Basic Encoding Rules of ASN.1. The version of BER these rout
flushinp(3ncurses) - miscellaneous curses utility routines
The unctrl routine returns a character string which is a printable representation of the character c, ignoring attributes. Control characters are displayed in t
getchar_unlocked(3) - nonlocking stdio functions (Man Page)
Each of these functions has the same behavior as its counterpart without the _unlocked suffix, except that they do not use locking (they do not set locks themse
FcConfigUptoDate(3) - Check timestamps on config files......
Checks all of the files related to config and returns whether any of them has been modified since the configuration was created. If config is NULL, the current
tiff2ps(1) convert a TIFF image to PostScripttrade..........
tiff2ps reads TIFF images and writes PostScript or Encapsulated PostScript (EPS) on the standard output. By default, tiff2ps writes Encapsulated PostScript for
attr_setf(3) - set the value of a user attribute of a filesy
The attr_set and attr_setf functions provide a way to create attributes and set/change their values. Path points to a path name for a filesystem object, and fd
ber_get_null(3) - OpenLDAP LBER simplified Basic Encoding Ru
These routines provide a subroutine interface to a simplified implementation of the Basic Encoding Rules of ASN.1. The version of BER these routines support is
vimdiff(1) - edit two, three or four versions of a file with
vimdiff.1 - Vimdiff starts Vim on two (or three or four) files. Each file gets its own window. The differences between the files are highlighted. This is a nice