add_key.2, keyctl.2, request_key.2, offsetof.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_cleanup_push_defer_np.3, pthread_equal.3, pthread_exit.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_self.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setconcurrency.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_testcancel.3: Global formatting fix: balance .nf/.fi pairs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-03-13 04:37:22 +13:00
parent c9f2ff9d7e
commit 6030f2d859
28 changed files with 27 additions and 1 deletions

View File

@ -17,6 +17,7 @@ add_key \- Add a key to the kernel's key management facility
.BI "key_serial_t add_key(const char *" type ", const char *" description ,
.BI " const void *" payload ", size_t " plen ,
.BI " key_serial_t " keyring ");"
.fi
.SH DESCRIPTION
.BR add_key ()
asks the kernel to create or update a key of the given

View File

@ -15,6 +15,7 @@ keyctl \- Manipulate the kernel's key management facility
.B #include <keyutils.h>
.sp
.BI "long keyctl(int " cmd ", ...);"
.fi
.SH DESCRIPTION
.BR keyctl ()
has a number of functions available:

View File

@ -17,6 +17,7 @@ request_key \- Request a key from the kernel's key management facility
.BI "key_serial_t request_key(const char *" type ", const char *" description ,
.BI " const char *" callout_info ,
.BI " key_serial_t " keyring ");"
.fi
.SH DESCRIPTION
.BR request_key ()
asks the kernel to find a key of the given

View File

@ -68,7 +68,6 @@ options, the program below produces the following output:
offsets: i=0; c=4; d=8 a=16
sizeof(struct s)=16
.fi
.nf
.SS Program source
\&
.nf

View File

@ -33,6 +33,7 @@ thread attributes object
.BI "int pthread_attr_destroy(pthread_attr_t *" attr );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_attr_init ()

View File

@ -36,6 +36,7 @@ CPU affinity attribute in thread attributes object
.BI " size_t " cpusetsize ", cpu_set_t *" cpuset );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_attr_setaffinity_np ()

View File

@ -35,6 +35,7 @@ set/get detach state attribute in thread attributes object
", int *" detachstate );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_attr_setdetachstate ()

View File

@ -35,6 +35,7 @@ attribute in thread attributes object
", size_t *" guardsize );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_attr_setguardsize ()

View File

@ -35,6 +35,7 @@ inherit scheduler attribute in thread attributes object
.BI " int *" inheritsched );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_attr_setinheritsched ()

View File

@ -35,6 +35,7 @@ scheduling parameter attributes in thread attributes object
.BI " struct sched_param *" param );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_attr_setschedparam ()

View File

@ -35,6 +35,7 @@ scheduling policy attribute in thread attributes object
", int " *policy );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_attr_setschedpolicy ()

View File

@ -35,6 +35,7 @@ attribute in thread attributes object
", int *" scope );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_attr_setscope ()

View File

@ -35,6 +35,7 @@ set/get stack address attribute in thread attributes object
", void **" stackaddr );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
These functions are obsolete:
.B do not use them.

View File

@ -35,6 +35,7 @@ attribute in thread attributes object
", size_t *" stacksize );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_attr_setstacksize ()

View File

@ -31,6 +31,7 @@ pthread_cancel \- send a cancellation request to a thread
.BI "int pthread_cancel(pthread_t " thread );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_cancel ()

View File

@ -34,6 +34,7 @@ thread cancellation clean-up handlers
.BI "void pthread_cleanup_pop(int " execute );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
These functions manipulate the calling thread's stack of
thread-cancellation clean-up handlers.

View File

@ -32,6 +32,7 @@ thread cancellation clean-up handlers while saving cancelability type
.BI "void pthread_cleanup_push_defer_np(void (*" routine ")(void *),"
.BI " void *" arg );
.BI "void pthread_cleanup_pop_restore_np(int " execute );
.fi
.sp
Compile and link with \fI\-pthread\fP.
.SH DESCRIPTION

View File

@ -31,6 +31,7 @@ pthread_equal \- compare thread IDs
.BI "int pthread_equal(pthread_t " t1 ", pthread_t " t2 );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_equal ()

View File

@ -31,6 +31,7 @@ pthread_exit \- terminate calling thread
.BI "void pthread_exit(void *" retval );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_exit ()

View File

@ -32,6 +32,7 @@ pthread_getattr_np \- get attributes of created thread
.BI "int pthread_getattr_np(pthread_t " thread ", pthread_attr_t *" attr );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_getattr_np ()

View File

@ -32,6 +32,7 @@ pthread_getcpuclockid \- retrieve ID of a thread's CPU time clock
.BI "int pthread_getcpuclockid(pthread_t " thread ", clockid_t *" clock_id);
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_getcpuclockid ()

View File

@ -31,6 +31,7 @@ pthread_self \- obtain ID of the calling thread
.B pthread_t pthread_self(void);
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_self ()

View File

@ -36,6 +36,7 @@ CPU affinity of a thread
.BI " cpu_set_t *" cpuset );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_setaffinity_np ()

View File

@ -33,6 +33,7 @@ set cancelability state and type
.BI "int pthread_setcanceltype(int " type ", int *" oldtype );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_setcancelstate ()

View File

@ -32,6 +32,7 @@ the concurrency level
.BI "int pthread_getconcurrency(void);
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_setconcurrency ()

View File

@ -35,6 +35,7 @@ scheduling policy and parameters of a thread
.BI " struct sched_param *" param );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_setschedparam ()

View File

@ -31,6 +31,7 @@ pthread_setschedprio \- set scheduling priority of a thread
.BI "pthread_setschedprio(pthread_t " thread ", int " prio );
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The
.BR pthread_setschedprio ()

View File

@ -31,6 +31,7 @@ pthread_testcancel \- request delivery of any pending cancellation request
.B void pthread_testcancel(void);
.sp
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
Calling
.BR pthread_testcancel ()