]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/getcontext.3
man*/: srcfix (Use .P instead of .PP or .LP)
[thirdparty/man-pages.git] / man3 / getcontext.3
index 08feca911e8ca2caedb4da2484050a3396081a75..ef2f35fff3a98d4ae424b8860f457e5725467a90 100644 (file)
@@ -12,7 +12,7 @@ Standard C library
 .SH SYNOPSIS
 .nf
 .B #include <ucontext.h>
-.PP
+.P
 .BI "int getcontext(ucontext_t *" ucp );
 .BI "int setcontext(const ucontext_t *" ucp );
 .fi
@@ -31,7 +31,7 @@ and
 .BR swapcontext (3)
 that allow user-level context switching between multiple
 threads of control within a process.
-.PP
+.P
 The
 .I mcontext_t
 type is machine-dependent and opaque.
@@ -39,7 +39,7 @@ The
 .I ucontext_t
 type is a structure that has at least
 the following fields:
-.PP
+.P
 .in +4n
 .EX
 typedef struct ucontext_t {
@@ -51,7 +51,7 @@ typedef struct ucontext_t {
 } ucontext_t;
 .EE
 .in
-.PP
+.P
 with
 .I sigset_t
 and
@@ -76,14 +76,14 @@ and
 is the
 machine-specific representation of the saved context,
 that includes the calling thread's machine registers.
-.PP
+.P
 The function
 .BR getcontext ()
 initializes the structure
 pointed to by
 .I ucp
 to the currently active context.
-.PP
+.P
 The function
 .BR setcontext ()
 restores the user context
@@ -99,11 +99,11 @@ handler (see the discussion of the
 .B SA_SIGINFO
 flag in
 .BR sigaction (2)).
-.PP
+.P
 If the context was obtained by a call of
 .BR getcontext (),
 program execution continues as if this call just returned.
-.PP
+.P
 If the context was obtained by a call of
 .BR makecontext (3),
 program execution continues by a call to the function
@@ -120,7 +120,7 @@ specified as the
 first argument of that call to
 .BR makecontext (3).
 When this member is NULL, the thread exits.
-.PP
+.P
 If the context was obtained by a call to a signal handler,
 then old standard text says that "program execution continues with the
 program instruction following the instruction interrupted
@@ -157,7 +157,7 @@ T}  Thread safety   MT-Safe race:ucp
 None.
 .SH HISTORY
 SUSv2, POSIX.1-2001.
-.PP
+.P
 POSIX.1-2008 removes these functions,
 citing portability issues, and
 recommending that applications be rewritten to use POSIX threads instead.
@@ -180,7 +180,7 @@ is from the first call, or via a
 call.
 The user has to invent their own bookkeeping device, and a register
 variable won't do since registers are restored.
-.PP
+.P
 When a signal occurs, the current user context is saved and
 a new context is created by the kernel for the signal handler.
 Do not leave the handler using