From e42129241681dde7adae7d20697e7b421682fbb4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:23:22 +0200 Subject: Adding upstream version 2.10.22. Signed-off-by: Daniel Baumann --- .../libgimpbase/html/libgimpbase-gimpsignal.html | 164 +++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 devel-docs/libgimpbase/html/libgimpbase-gimpsignal.html (limited to 'devel-docs/libgimpbase/html/libgimpbase-gimpsignal.html') diff --git a/devel-docs/libgimpbase/html/libgimpbase-gimpsignal.html b/devel-docs/libgimpbase/html/libgimpbase-gimpsignal.html new file mode 100644 index 0000000..eb36d7c --- /dev/null +++ b/devel-docs/libgimpbase/html/libgimpbase-gimpsignal.html @@ -0,0 +1,164 @@ + + + + +gimpsignal: GIMP Base Library Reference Manual + + + + + + + + + + + + + + + + +
+
+
+ + +
+

gimpsignal

+

gimpsignal — Portable signal handling.

+
+
+

Functions

+
++++ + + + + + + + + + + +
+void + +(*GimpSignalHandlerFunc) () +
+GimpSignalHandlerFunc + +gimp_signal_private () +
+
+
+

Description

+

Portable signal handling.

+
+
+

Functions

+
+

GimpSignalHandlerFunc ()

+
void
+(*GimpSignalHandlerFunc) (gint signum);
+

A prototype for a reference to a 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 +).

+
+

Parameters

+
+++++ + + + + + +

signum

The number of the signal. Useful if different signals are +handled by a single handler.

 
+
+
+
+
+

gimp_signal_private ()

+
GimpSignalHandlerFunc
+gimp_signal_private (gint signum,
+                     GimpSignalHandlerFunc handler,
+                     gint flags);
+

This function furnishes a workalike for signal(2) but +which internally invokes sigaction(2) after certain +sa_flags are set; these primarily to ensure restarting +of interrupted system calls. See sigaction(2) It is a +aid to transition and not new development: that effort +should employ sigaction directly. [gosgood 18.04.2000]

+

Cause handler + to be run when signum + is delivered. We +use sigaction(2) rather than signal(2) so that we can control the +signal handler's environment completely via flags +: some signal(2) +implementations differ in their semantics, so we need to nail down +exactly what we want. [austin 06.04.2000]

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

signum

Selects signal to be handled see man 5 signal (or man 7 signal)

 

handler

Handler that maps to signum. Invoked by O/S. +Handler gets signal that caused invocation. Corresponds +to the sa_handler +field of the sigaction +struct.

 

flags

Preferences. OR'ed SA_<xxx>. See man sigaction. Corresponds +to the sa_flags +field of the sigaction +struct.

 
+
+
+

Returns

+

A reference to the signal handling function which was +active before the call to gimp_signal_private().

+
+
+
+
+

See Also

+

signal(2), signal(5 or 7), sigaction(2).

+
+
+ + + \ No newline at end of file -- cgit v1.2.3