Whitespace cleanups in in preprocessor directives

This commit is contained in:
Michael Kerrisk 2007-12-09 07:50:38 +00:00
parent 7efbf273c5
commit 3d32fee86d
5 changed files with 26 additions and 26 deletions

View File

@ -81,7 +81,7 @@ includes
and that contains the line:
.nf
# define alloca(size) __builtin_alloca (size)
#define alloca(size) __builtin_alloca (size)
.fi
with messy consequences if one has a private version of this function.

View File

@ -30,9 +30,9 @@ ftok \- convert a pathname and a project identifier to a System V IPC key
.SH SYNOPSIS
.nf
.B
# include <sys/types.h>
#include <sys/types.h>
.B
# include <sys/ipc.h>
#include <sys/ipc.h>
.fi
.sp
.BI "key_t ftok(const char *" pathname ", int " proj_id );

View File

@ -355,14 +355,14 @@ flags respectively to be used in the IDNA handling.
.\" FIXME glibc defines the following additional errors, some which
.\" can probably be returned by getaddrinfo(); they need to
.\" be documented.
.\" # ifdef __USE_GNU
.\" # define EAI_INPROGRESS -100 /* Processing request in progress. */
.\" # define EAI_CANCELED -101 /* Request canceled. */
.\" # define EAI_NOTCANCELED -102 /* Request not canceled. */
.\" # define EAI_ALLDONE -103 /* All requests done. */
.\" # define EAI_INTR -104 /* Interrupted by a signal. */
.\" # define EAI_IDN_ENCODE -105 /* IDN encoding failed. */
.\" # endif
.\" #ifdef __USE_GNU
.\" #define EAI_INPROGRESS -100 /* Processing request in progress. */
.\" #define EAI_CANCELED -101 /* Request canceled. */
.\" #define EAI_NOTCANCELED -102 /* Request not canceled. */
.\" #define EAI_ALLDONE -103 /* All requests done. */
.\" #define EAI_INTR -104 /* Interrupted by a signal. */
.\" #define EAI_IDN_ENCODE -105 /* IDN encoding failed. */
.\" #endif
.BR getaddrinfo ()
returns 0 if it succeeds, or one of the following non-zero error codes:
.TP

View File

@ -115,14 +115,14 @@ flags respectively to be used in the IDNA handling.
.\" FIXME glibc defines the following additional errors, some which
.\" can probably be returned by getnameinfo(); they need to
.\" be documented.
.\" # ifdef __USE_GNU
.\" # define EAI_INPROGRESS -100 /* Processing request in progress. */
.\" # define EAI_CANCELED -101 /* Request canceled. */
.\" # define EAI_NOTCANCELED -102 /* Request not canceled. */
.\" # define EAI_ALLDONE -103 /* All requests done. */
.\" # define EAI_INTR -104 /* Interrupted by a signal. */
.\" # define EAI_IDN_ENCODE -105 /* IDN encoding failed. */
.\" # endif
.\" #ifdef __USE_GNU
.\" #define EAI_INPROGRESS -100 /* Processing request in progress. */
.\" #define EAI_CANCELED -101 /* Request canceled. */
.\" #define EAI_NOTCANCELED -102 /* Request not canceled. */
.\" #define EAI_ALLDONE -103 /* All requests done. */
.\" #define EAI_INTR -104 /* Interrupted by a signal. */
.\" #define EAI_IDN_ENCODE -105 /* IDN encoding failed. */
.\" #endif
On success 0 is returned, and node and service names, if requested,
are filled with null-terminated strings, possibly truncated to fit
the specified buffer lengths.
@ -185,8 +185,8 @@ defines the constants
.in +0.5i
.nf
# define NI_MAXHOST 1025
# define NI_MAXSERV 32
#define NI_MAXHOST 1025
#define NI_MAXSERV 32
.fi
.in
.PP

View File

@ -28,15 +28,15 @@ svipc \- System V interprocess communication mechanisms
.SH SYNOPSIS
.nf
.B
# include <sys/types.h>
#include <sys/types.h>
.B
# include <sys/ipc.h>
#include <sys/ipc.h>
.B
# include <sys/msg.h>
#include <sys/msg.h>
.B
# include <sys/sem.h>
#include <sys/sem.h>
.B
# include <sys/shm.h>
#include <sys/shm.h>
.SH DESCRIPTION
This manual page refers to the Linux implementation of the System V
interprocess communication mechanisms: