From 2a942b8fa85b25e91c59f4636ca30de7d0227ae7 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sat, 27 Feb 1999 21:56:03 +0000 Subject: make function names the correct case --- src/lib/libc/net/gethostbyname.3 | 4 ++-- src/lib/libc/net/resolver.3 | 4 ++-- src/lib/libc/stdlib/a64l.3 | 4 ++-- src/lib/libc/stdlib/exit.3 | 4 ++-- src/lib/libc/stdlib/qsort.3 | 12 ++++++------ src/lib/libc/stdlib/tsearch.3 | 14 +++++++------- 6 files changed, 21 insertions(+), 21 deletions(-) (limited to 'src') diff --git a/src/lib/libc/net/gethostbyname.3 b/src/lib/libc/net/gethostbyname.3 index 37069c0a59..e28fed361c 100644 --- a/src/lib/libc/net/gethostbyname.3 +++ b/src/lib/libc/net/gethostbyname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gethostbyname.3,v 1.9 1998/09/07 16:44:35 aaron Exp $ +.\" $OpenBSD: gethostbyname.3,v 1.10 1999/02/27 21:55:27 deraadt Exp $ .\" .\" Copyright (c) 1983, 1987, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -123,7 +123,7 @@ See .Xr hostname 7 for the domain search procedure and the alias file format. .Pp -.Fn Gethostbyname2 +.Fn gethostbyname2 is an advanced form of .Fn gethostbyname which allows lookups in address families other than diff --git a/src/lib/libc/net/resolver.3 b/src/lib/libc/net/resolver.3 index 98718d448a..389906d8a3 100644 --- a/src/lib/libc/net/resolver.3 +++ b/src/lib/libc/net/resolver.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: resolver.3,v 1.5 1998/09/05 17:41:44 deraadt Exp $ +.\" $OpenBSD: resolver.3,v 1.6 1999/02/27 21:55:34 deraadt Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -250,7 +250,7 @@ but can be any of the query types defined in .Aq Pa arpa/nameser.h . The domain name for the query is given by .Fa dname . -.Fa Newrr +.Fa newrr is currently unused but is intended for making update messages. .Pp The diff --git a/src/lib/libc/stdlib/a64l.3 b/src/lib/libc/stdlib/a64l.3 index 4ec707adf1..0607338cba 100644 --- a/src/lib/libc/stdlib/a64l.3 +++ b/src/lib/libc/stdlib/a64l.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: a64l.3,v 1.2 1998/06/21 22:13:48 millert Exp $ +.\" $OpenBSD: a64l.3,v 1.3 1999/02/27 21:55:53 deraadt Exp $ .\" .Dd August 17, 1997 .Dt A64L 3 @@ -61,7 +61,7 @@ and returns a corresponding 32-bit value. If the string pointed to by contains more than six characters, .Fn a64l will use the first six. -.Fn A64l +.Fn a64l scans the character string from left to right, decoding each character as a 6-bit radix-64 number. If a long integer is larger than 32 bits, the return value will be sign-extended. diff --git a/src/lib/libc/stdlib/exit.3 b/src/lib/libc/stdlib/exit.3 index 6dd2affef9..326c5539a8 100644 --- a/src/lib/libc/stdlib/exit.3 +++ b/src/lib/libc/stdlib/exit.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: exit.3,v 1.2 1996/08/19 08:33:30 tholo Exp $ +.\" $OpenBSD: exit.3,v 1.3 1999/02/27 21:55:55 deraadt Exp $ .\" .Dd June 29, 1991 .Dt EXIT 3 @@ -46,7 +46,7 @@ .Ft void .Fn exit "int status" .Sh DESCRIPTION -.Fn Exit +.Fn exit terminates a process. .Pp Before termination it performs the following functions in the diff --git a/src/lib/libc/stdlib/qsort.3 b/src/lib/libc/stdlib/qsort.3 index a65c5819d0..0a71824450 100644 --- a/src/lib/libc/stdlib/qsort.3 +++ b/src/lib/libc/stdlib/qsort.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: qsort.3,v 1.2 1996/08/19 08:33:42 tholo Exp $ +.\" $OpenBSD: qsort.3,v 1.3 1999/02/27 21:56:00 deraadt Exp $ .\" .Dd June 4, 1993 .Dt QSORT 3 @@ -71,7 +71,7 @@ objects, the initial member of which is pointed to by .Fa base . The size of each object is specified by .Fa size . -.Fn Mergesort +.Fn mergesort behaves similarly, but .Em requires that @@ -108,7 +108,7 @@ The function is an implementation of C.A.R. Hoare's ``quicksort'' algorithm, a variant of partition-exchange sorting; in particular, see D.E. Knuth's Algorithm Q. -.Fn Qsort +.Fn qsort takes O N lg N average time. This implementation uses median selection to avoid its O N**2 worst-case behavior. @@ -117,7 +117,7 @@ The .Fn heapsort function is an implementation of J.W.J. William's ``heapsort'' algorithm, a variant of selection sorting; in particular, see D.E. Knuth's Algorithm H. -.Fn Heapsort +.Fn heapsort takes O N lg N worst-case time. Its .Em only @@ -133,7 +133,7 @@ requires additional memory of size .Fa nmemb * .Fa size bytes; it should be used only when space is not at a premium. -.Fn Mergesort +.Fn mergesort is optimized for data with pre-existing order; its worst case time is O N lg N; its best case is O N. .Pp @@ -175,7 +175,7 @@ argument to is less than .Dq "sizeof(void *) / 2" . .It Bq Er ENOMEM -.Fn Heapsort +.Fn heapsort or .Fn mergesort were unable to allocate memory. diff --git a/src/lib/libc/stdlib/tsearch.3 b/src/lib/libc/stdlib/tsearch.3 index dbdae7943c..c2ef8ae6cb 100644 --- a/src/lib/libc/stdlib/tsearch.3 +++ b/src/lib/libc/stdlib/tsearch.3 @@ -23,7 +23,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.3 1999/02/27 21:56:03 deraadt Exp $ .\" .Dd June 15, 1997 .Dt TSEARCH 3 @@ -53,7 +53,7 @@ from Knuth (6.2.2). The comparison function passed in by the user has the same style of return values as .Xr strcmp 3 . .Pp -.Fn Tfind +.Fn tfind searches for the datum matched by the argument .Fa key in the binary tree rooted at @@ -61,7 +61,7 @@ in the binary tree rooted at returning a pointer to the datum if it is found and NULL if it is not. .Pp -.Fn Tsearch +.Fn tsearch is identical to .Fn tfind except that if no match is found, @@ -70,7 +70,7 @@ is inserted into the tree and a pointer to it is returned. If .Fa rootp points to a NULL value a new binary search tree is created. .Pp -.Fn Tdelete +.Fn tdelete deletes a node from the specified binary search tree and returns a pointer to the parent of the node to be deleted. It takes the same arguments as @@ -81,13 +81,13 @@ If the node to be deleted is the root of the binary search tree, .Fa rootp will be adjusted. .Pp -.Fn Twalk +.Fn twalk walks the binary search tree rooted in .fa root and calls the function .Fa action on each node. -.Fa Action +.Fa action is called with three arguments: a pointer to the current node, a value from the enum .Sy "typedef enum { preorder, postorder, endorder, leaf } VISIT;" @@ -103,7 +103,7 @@ The function returns NULL if allocation of a new node fails (usually due to a lack of free memory). .Pp -.Fn Tfind , +.Fn tfind , .Fn tsearch , and .Fn tdelete -- cgit v1.2.3-55-g6feb