mirror of https://github.com/GNOME/gimp.git
59 lines
1.3 KiB
Plaintext
59 lines
1.3 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
gimpsignal
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Portable signal handling.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
Portable signal handling.
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
signal(2), signal(5 or 7), sigaction(2).
|
|
</para>
|
|
|
|
<!-- ##### MACRO SA_RESTART ##### -->
|
|
<para>
|
|
This is just an alias for systems which do not define SA_RESTART.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GimpSignalHandlerFunc ##### -->
|
|
<para>
|
|
A prototype for signal handler functions. Note that each function which
|
|
takes or returns a variable of this type also accepts or may return
|
|
special values defined by your system's signal.h header file (like
|
|
@SIG_DFL or @SIG_IGN).
|
|
</para>
|
|
|
|
@signum: The number of the signal. Useful if different signals are handled
|
|
by a single handler.
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_signal_private ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@signum:
|
|
@handler:
|
|
@flags:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### MACRO gimp_signal_syscallrestart ##### -->
|
|
<para>
|
|
Installs a signal handler in a way that system calls which were not finished
|
|
at the time of signal handler invocation will be silently restarted
|
|
by the system (without failing with an error of EINTR).
|
|
</para>
|
|
|
|
@signum: The number of the signal.
|
|
@handler: The signal handler.
|
|
|
|
|