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 "key_serial_t add_key(const char *" type ", const char *" description ,
.BI " const void *" payload ", size_t " plen , .BI " const void *" payload ", size_t " plen ,
.BI " key_serial_t " keyring ");" .BI " key_serial_t " keyring ");"
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR add_key () .BR add_key ()
asks the kernel to create or update a key of the given 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> .B #include <keyutils.h>
.sp .sp
.BI "long keyctl(int " cmd ", ...);" .BI "long keyctl(int " cmd ", ...);"
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR keyctl () .BR keyctl ()
has a number of functions available: 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 "key_serial_t request_key(const char *" type ", const char *" description ,
.BI " const char *" callout_info , .BI " const char *" callout_info ,
.BI " key_serial_t " keyring ");" .BI " key_serial_t " keyring ");"
.fi
.SH DESCRIPTION .SH DESCRIPTION
.BR request_key () .BR request_key ()
asks the kernel to find a key of the given 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 offsets: i=0; c=4; d=8 a=16
sizeof(struct s)=16 sizeof(struct s)=16
.fi .fi
.nf
.SS Program source .SS Program source
\& \&
.nf .nf

View File

@ -33,6 +33,7 @@ thread attributes object
.BI "int pthread_attr_destroy(pthread_attr_t *" attr ); .BI "int pthread_attr_destroy(pthread_attr_t *" attr );
.sp .sp
Compile and link with \fI\-pthread\fP. Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR pthread_attr_init () .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 ); .BI " size_t " cpusetsize ", cpu_set_t *" cpuset );
.sp .sp
Compile and link with \fI\-pthread\fP. Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR pthread_attr_setaffinity_np () .BR pthread_attr_setaffinity_np ()

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -35,6 +35,7 @@ attribute in thread attributes object
", size_t *" stacksize ); ", size_t *" stacksize );
.sp .sp
Compile and link with \fI\-pthread\fP. Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR pthread_attr_setstacksize () .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 ); .BI "int pthread_cancel(pthread_t " thread );
.sp .sp
Compile and link with \fI\-pthread\fP. Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR pthread_cancel () .BR pthread_cancel ()

View File

@ -34,6 +34,7 @@ thread cancellation clean-up handlers
.BI "void pthread_cleanup_pop(int " execute ); .BI "void pthread_cleanup_pop(int " execute );
.sp .sp
Compile and link with \fI\-pthread\fP. Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION .SH DESCRIPTION
These functions manipulate the calling thread's stack of These functions manipulate the calling thread's stack of
thread-cancellation clean-up handlers. 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 pthread_cleanup_push_defer_np(void (*" routine ")(void *),"
.BI " void *" arg ); .BI " void *" arg );
.BI "void pthread_cleanup_pop_restore_np(int " execute ); .BI "void pthread_cleanup_pop_restore_np(int " execute );
.fi
.sp .sp
Compile and link with \fI\-pthread\fP. Compile and link with \fI\-pthread\fP.
.SH DESCRIPTION .SH DESCRIPTION

View File

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

View File

@ -31,6 +31,7 @@ pthread_exit \- terminate calling thread
.BI "void pthread_exit(void *" retval ); .BI "void pthread_exit(void *" retval );
.sp .sp
Compile and link with \fI\-pthread\fP. Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR pthread_exit () .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 ); .BI "int pthread_getattr_np(pthread_t " thread ", pthread_attr_t *" attr );
.sp .sp
Compile and link with \fI\-pthread\fP. Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR pthread_getattr_np () .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); .BI "int pthread_getcpuclockid(pthread_t " thread ", clockid_t *" clock_id);
.sp .sp
Compile and link with \fI\-pthread\fP. Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR pthread_getcpuclockid () .BR pthread_getcpuclockid ()

View File

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

View File

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

View File

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

View File

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

View File

@ -35,6 +35,7 @@ scheduling policy and parameters of a thread
.BI " struct sched_param *" param ); .BI " struct sched_param *" param );
.sp .sp
Compile and link with \fI\-pthread\fP. Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR pthread_setschedparam () .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 ); .BI "pthread_setschedprio(pthread_t " thread ", int " prio );
.sp .sp
Compile and link with \fI\-pthread\fP. Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION .SH DESCRIPTION
The The
.BR pthread_setschedprio () .BR pthread_setschedprio ()

View File

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