diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-12-09 07:50:38 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-12-09 07:50:38 +0000 |
| commit | 3d32fee86dc6986882e98512e4a14350f11f75da (patch) | |
| tree | 8f6d512e42b896f2439de831f5d557a03c1c959e | |
| parent | 7efbf273c592140f84794b4418106f17c483e03e (diff) | |
| download | man-pages-3d32fee86dc6986882e98512e4a14350f11f75da.tar.gz | |
Whitespace cleanups in in preprocessor directives
| -rw-r--r-- | man3/alloca.3 | 2 | ||||
| -rw-r--r-- | man3/ftok.3 | 4 | ||||
| -rw-r--r-- | man3/getaddrinfo.3 | 16 | ||||
| -rw-r--r-- | man3/getnameinfo.3 | 20 | ||||
| -rw-r--r-- | man7/svipc.7 | 10 |
5 files changed, 26 insertions, 26 deletions
diff --git a/man3/alloca.3 b/man3/alloca.3 index 6ef487ac63..f57a099de4 100644 --- a/man3/alloca.3 +++ b/man3/alloca.3 @@ -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. diff --git a/man3/ftok.3 b/man3/ftok.3 index 82eef37875..1836acfecd 100644 --- a/man3/ftok.3 +++ b/man3/ftok.3 @@ -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 ); diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3 index 235bdab613..d97a1fa10c 100644 --- a/man3/getaddrinfo.3 +++ b/man3/getaddrinfo.3 @@ -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 diff --git a/man3/getnameinfo.3 b/man3/getnameinfo.3 index 4e69ac36c1..7d406836bc 100644 --- a/man3/getnameinfo.3 +++ b/man3/getnameinfo.3 @@ -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 diff --git a/man7/svipc.7 b/man7/svipc.7 index 8cd5770777..5f0c754cac 100644 --- a/man7/svipc.7 +++ b/man7/svipc.7 @@ -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: |
