From a145482cf625d5f04072fd1d20b5c2062cbe8e47 Mon Sep 17 00:00:00 2001 From: dd Date: Sun, 15 Jul 2001 07:53:42 +0000 Subject: Remove whitespace at EOL. --- lib/libc/stdlib/alloca.3 | 4 ++-- lib/libc/stdlib/bsearch.3 | 4 ++-- lib/libc/stdlib/exit.3 | 2 +- lib/libc/stdlib/getenv.3 | 2 +- lib/libc/stdlib/getopt.3 | 12 ++++++------ lib/libc/stdlib/malloc.3 | 16 ++++++++-------- lib/libc/stdlib/qsort.3 | 2 +- lib/libc/stdlib/radixsort.3 | 4 ++-- lib/libc/stdlib/rand.3 | 2 +- lib/libc/stdlib/random.3 | 8 ++++---- lib/libc/stdlib/realpath.3 | 2 +- lib/libc/stdlib/strtod.3 | 4 ++-- lib/libc/stdlib/system.3 | 4 ++-- lib/libc/stdlib/tsearch.3 | 4 ++-- 14 files changed, 35 insertions(+), 35 deletions(-) (limited to 'lib/libc/stdlib') diff --git a/lib/libc/stdlib/alloca.3 b/lib/libc/stdlib/alloca.3 index d7b48a0..db0ea46 100644 --- a/lib/libc/stdlib/alloca.3 +++ b/lib/libc/stdlib/alloca.3 @@ -48,7 +48,7 @@ The .Fn alloca function -allocates +allocates .Fa size bytes of space in the stack frame of the caller. This temporary space is automatically freed on @@ -76,6 +76,6 @@ is machine dependent; its use is discouraged. .\" .Fn alloca .\" function appeared in .\" .Bx ?? . -.\" The function appeared in 32v, pwb and pwb.2 and in 3bsd 4bsd +.\" The function appeared in 32v, pwb and pwb.2 and in 3bsd 4bsd .\" The first man page (or link to a man page that I can find at the .\" moment is 4.3... diff --git a/lib/libc/stdlib/bsearch.3 b/lib/libc/stdlib/bsearch.3 index 8100796..a148f5e 100644 --- a/lib/libc/stdlib/bsearch.3 +++ b/lib/libc/stdlib/bsearch.3 @@ -53,12 +53,12 @@ The .Fn bsearch function searches an array of .Fa nmemb -objects, the initial member of which is +objects, the initial member of which is pointed to by .Fa base , for a member that matches the object pointed to by .Fa key . -The size of each member of the array is specified by +The size of each member of the array is specified by .Fa size . .Pp The contents of the array should be in ascending sorted order according diff --git a/lib/libc/stdlib/exit.3 b/lib/libc/stdlib/exit.3 index 4b6dd78..663eea6 100644 --- a/lib/libc/stdlib/exit.3 +++ b/lib/libc/stdlib/exit.3 @@ -72,7 +72,7 @@ function. Passing arbitrary values back to the environment as .Ar status is considered bad style; -you should use the values +you should use the values .Dv EXIT_SUCCESS and .Dv EXIT_FAILURE . diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3 index e639b52..a0feb2b 100644 --- a/lib/libc/stdlib/getenv.3 +++ b/lib/libc/stdlib/getenv.3 @@ -66,7 +66,7 @@ the given arguments .Ar name and .Ar value -may be appended and prepended, +may be appended and prepended, respectively, with an equal sign .Dq Li \&= . diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index 70857b9..bf1549f 100644 --- a/lib/libc/stdlib/getopt.3 +++ b/lib/libc/stdlib/getopt.3 @@ -124,7 +124,7 @@ The .Fn getopt function returns \-1 -when the argument list is exhausted, or +when the argument list is exhausted, or .Ql ?\& if a non-recognized option is encountered. @@ -152,8 +152,8 @@ Setting .Va opterr to a zero will disable these error messages. If -.Va optstring -has a leading +.Va optstring +has a leading .Ql \&: then a missing option argument causes a .Ql \&: @@ -202,13 +202,13 @@ function appeared in The .Fn getopt function was once specified to return -.Dv EOF +.Dv EOF instead of \-1. This was changed by .St -p1003.2-92 -to decouple +to decouple .Fn getopt -from +from .Pa . .Pp A single dash diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index f49604d..67e84e9 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -156,7 +156,7 @@ The ``name'' of the file referenced by the symbolic link named the value of the environment variable .Ev MALLOC_OPTIONS , and the string pointed to by the global variable -.Va _malloc_options +.Va _malloc_options will be interpreted, in that order, character by character as flags. .Pp Most flags are single letters, @@ -209,7 +209,7 @@ Attempting to allocate zero bytes will return a .Dv NULL pointer instead of a valid pointer. -(The default behavior is to make a minimal allocation and return a +(The default behavior is to make a minimal allocation and return a pointer to it.) This option is provided for System V compatibility. This option is incompatible with the @@ -247,7 +247,7 @@ The and .Dq Z options are intended for testing and debugging. -An application which changes its behavior when these options are used +An application which changes its behavior when these options are used is flawed. .Sh EXAMPLES To set a systemwide reduction of cache size, and to dump core whenever @@ -324,8 +324,8 @@ done by a process. .Ed .Pp A side effect of this architecture is that many minor transgressions on -the interface which would traditionally not be detected are in fact -detected. As a result, programs that have been running happily for +the interface which would traditionally not be detected are in fact +detected. As a result, programs that have been running happily for years may suddenly start to complain loudly, when linked with this allocation implementation. .Pp @@ -365,7 +365,7 @@ There are a number of allocation implementations available on the 'Net which focus on detecting and pinpointing problems by trading performance for extra sanity checks and detailed diagnostics. .Sh DIAGNOSTIC MESSAGES -If +If .Fn malloc , .Fn calloc , .Fn realloc @@ -461,8 +461,8 @@ functions conform to .St -isoC . .Sh HISTORY The present allocation implementation started out as a filesystem for a -drum attached to a 20bit binary challenged computer which was built -with discrete germanium transistors. It has since graduated to +drum attached to a 20bit binary challenged computer which was built +with discrete germanium transistors. It has since graduated to handle primary storage rather than secondary. It first appeared in its new shape and ability in .Fx 2.2 . diff --git a/lib/libc/stdlib/qsort.3 b/lib/libc/stdlib/qsort.3 index 7c09dac..da4df56 100644 --- a/lib/libc/stdlib/qsort.3 +++ b/lib/libc/stdlib/qsort.3 @@ -134,7 +134,7 @@ The function .Fn mergesort requires additional memory of size .Fa nmemb * -.Fa size +.Fa size bytes; it should be used only when space is not at a premium. .Fn Mergesort is optimized for data with pre-existing order; its worst case diff --git a/lib/libc/stdlib/radixsort.3 b/lib/libc/stdlib/radixsort.3 index 7ce7156..90a52c6 100644 --- a/lib/libc/stdlib/radixsort.3 +++ b/lib/libc/stdlib/radixsort.3 @@ -66,7 +66,7 @@ Applications may specify a sort order by providing the .Fa table argument. If -.Pf non- Dv NULL , +.Pf non- Dv NULL , .Fa table must reference an array of .Dv UCHAR_MAX @@ -109,7 +109,7 @@ particular, see D.E. Knuth's Algorithm R and section 5.2.5, exercise 10. They take linear time relative to the number of bytes in the strings. .Sh RETURN VALUES Upon successful completion 0 is returned. -Otherwise, \-1 is returned and the global variable +Otherwise, \-1 is returned and the global variable .Va errno is set to indicate the error. .Sh ERRORS diff --git a/lib/libc/stdlib/rand.3 b/lib/libc/stdlib/rand.3 index 6db19d5..d9c7b54 100644 --- a/lib/libc/stdlib/rand.3 +++ b/lib/libc/stdlib/rand.3 @@ -82,7 +82,7 @@ These sequences are repeatable by calling with the same seed value. .Pp If no -.Fa seed +.Fa seed value is provided, the functions are automatically seeded with a value of 1. .Pp diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3 index a17c1b7..4121c83 100644 --- a/lib/libc/stdlib/random.3 +++ b/lib/libc/stdlib/random.3 @@ -46,7 +46,7 @@ .Lb libc .Sh SYNOPSIS .Fd #include -.Ft long +.Ft long .Fn random void .Ft void .Fn srandom "unsigned long seed" @@ -70,7 +70,7 @@ The period of this random number generator is very large, approximately .if n 16*((2**31)\(mi1). .Pp The -.Fn random +.Fn random and .Fn srandom functions have (almost) the same calling sequence and initialization properties as the @@ -94,7 +94,7 @@ Like will by default produce a sequence of numbers that can be duplicated by calling .Fn srandom -with +with .Ql 1 as the seed. .Pp @@ -179,7 +179,7 @@ messages are printed on the standard error output. .Xr random 4 .Sh HISTORY These -functions appeared in +functions appeared in .Bx 4.2 . .Sh BUGS About 2/3 the speed of diff --git a/lib/libc/stdlib/realpath.3 b/lib/libc/stdlib/realpath.3 index 9e50e7d..5176770 100644 --- a/lib/libc/stdlib/realpath.3 +++ b/lib/libc/stdlib/realpath.3 @@ -70,7 +70,7 @@ refer to a buffer capable of storing at least .Dv MAXPATHLEN characters. .Pp -The +The .Fn realpath function will resolve both absolute and relative paths and return the absolute pathname corresponding to diff --git a/lib/libc/stdlib/strtod.3 b/lib/libc/stdlib/strtod.3 index d0d335c..6b65e21 100644 --- a/lib/libc/stdlib/strtod.3 +++ b/lib/libc/stdlib/strtod.3 @@ -53,7 +53,7 @@ string to double .Sh DESCRIPTION The .Fn strtod -function converts the initial portion of the string +function converts the initial portion of the string pointed to by .Fa nptr to @@ -99,7 +99,7 @@ is stored in If the correct value would cause underflow, zero is returned and .Er ERANGE -is stored in +is stored in .Va errno . .Sh ERRORS .Bl -tag -width Er diff --git a/lib/libc/stdlib/system.3 b/lib/libc/stdlib/system.3 index ef9b06f..d0afe05 100644 --- a/lib/libc/stdlib/system.3 +++ b/lib/libc/stdlib/system.3 @@ -80,9 +80,9 @@ The function returns the exit status of the shell as returned by .Xr waitpid 2 , -or \-1 if an error occurred when invoking +or \-1 if an error occurred when invoking .Xr fork 2 -or +or .Xr waitpid 2 . A return value of 127 means the execution of the shell failed. diff --git a/lib/libc/stdlib/tsearch.3 b/lib/libc/stdlib/tsearch.3 index b6d66f8..7f17434 100644 --- a/lib/libc/stdlib/tsearch.3 +++ b/lib/libc/stdlib/tsearch.3 @@ -24,7 +24,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" OpenBSD: tsearch.3,v 1.2 1998/06/21 22:13:49 millert Exp +.\" OpenBSD: tsearch.3,v 1.2 1998/06/21 22:13:49 millert Exp .\" $FreeBSD$ .\" .Dd June 15, 1997 @@ -91,7 +91,7 @@ and calls the function on each node. .Fa Action is called with three arguments: a pointer to the current node, -a value from the enum +a value from the enum .Sy "typedef enum { preorder, postorder, endorder, leaf } VISIT;" specifying the traversal type, and a node level (where level zero is the root of the tree). -- cgit v1.1