summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorderaadt <>1999-02-27 21:56:03 +0000
committerderaadt <>1999-02-27 21:56:03 +0000
commit2a942b8fa85b25e91c59f4636ca30de7d0227ae7 (patch)
tree2eebc38452da9b74e0b0629addbf28530b68af52 /src
parent5ea49c86fd68a22175e9718cf7b1c92d23659827 (diff)
downloadopenbsd-2a942b8fa85b25e91c59f4636ca30de7d0227ae7.tar.gz
openbsd-2a942b8fa85b25e91c59f4636ca30de7d0227ae7.tar.bz2
openbsd-2a942b8fa85b25e91c59f4636ca30de7d0227ae7.zip
make function names the correct case
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/net/gethostbyname.34
-rw-r--r--src/lib/libc/net/resolver.34
-rw-r--r--src/lib/libc/stdlib/a64l.34
-rw-r--r--src/lib/libc/stdlib/exit.34
-rw-r--r--src/lib/libc/stdlib/qsort.312
-rw-r--r--src/lib/libc/stdlib/tsearch.314
6 files changed, 21 insertions, 21 deletions
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 @@
1.\" $OpenBSD: gethostbyname.3,v 1.9 1998/09/07 16:44:35 aaron Exp $ 1.\" $OpenBSD: gethostbyname.3,v 1.10 1999/02/27 21:55:27 deraadt Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1987, 1991, 1993 3.\" Copyright (c) 1983, 1987, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -123,7 +123,7 @@ See
123.Xr hostname 7 123.Xr hostname 7
124for the domain search procedure and the alias file format. 124for the domain search procedure and the alias file format.
125.Pp 125.Pp
126.Fn Gethostbyname2 126.Fn gethostbyname2
127is an advanced form of 127is an advanced form of
128.Fn gethostbyname 128.Fn gethostbyname
129which allows lookups in address families other than 129which 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 @@
1.\" $OpenBSD: resolver.3,v 1.5 1998/09/05 17:41:44 deraadt Exp $ 1.\" $OpenBSD: resolver.3,v 1.6 1999/02/27 21:55:34 deraadt Exp $
2.\" 2.\"
3.\" Copyright (c) 1985, 1991, 1993 3.\" Copyright (c) 1985, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -250,7 +250,7 @@ but can be any of the query types defined in
250.Aq Pa arpa/nameser.h . 250.Aq Pa arpa/nameser.h .
251The domain name for the query is given by 251The domain name for the query is given by
252.Fa dname . 252.Fa dname .
253.Fa Newrr 253.Fa newrr
254is currently unused but is intended for making update messages. 254is currently unused but is intended for making update messages.
255.Pp 255.Pp
256The 256The
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 @@
24.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 24.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26.\" 26.\"
27.\" $OpenBSD: a64l.3,v 1.2 1998/06/21 22:13:48 millert Exp $ 27.\" $OpenBSD: a64l.3,v 1.3 1999/02/27 21:55:53 deraadt Exp $
28.\" 28.\"
29.Dd August 17, 1997 29.Dd August 17, 1997
30.Dt A64L 3 30.Dt A64L 3
@@ -61,7 +61,7 @@ and returns a corresponding 32-bit value. If the string pointed to by
61contains more than six characters, 61contains more than six characters,
62.Fn a64l 62.Fn a64l
63will use the first six. 63will use the first six.
64.Fn A64l 64.Fn a64l
65scans the character string from left to right, decoding 65scans the character string from left to right, decoding
66each character as a 6-bit radix-64 number. If a long integer is 66each character as a 6-bit radix-64 number. If a long integer is
67larger than 32 bits, the return value will be sign-extended. 67larger 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 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: exit.3,v 1.2 1996/08/19 08:33:30 tholo Exp $ 36.\" $OpenBSD: exit.3,v 1.3 1999/02/27 21:55:55 deraadt Exp $
37.\" 37.\"
38.Dd June 29, 1991 38.Dd June 29, 1991
39.Dt EXIT 3 39.Dt EXIT 3
@@ -46,7 +46,7 @@
46.Ft void 46.Ft void
47.Fn exit "int status" 47.Fn exit "int status"
48.Sh DESCRIPTION 48.Sh DESCRIPTION
49.Fn Exit 49.Fn exit
50terminates a process. 50terminates a process.
51.Pp 51.Pp
52Before termination it performs the following functions in the 52Before 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 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: qsort.3,v 1.2 1996/08/19 08:33:42 tholo Exp $ 36.\" $OpenBSD: qsort.3,v 1.3 1999/02/27 21:56:00 deraadt Exp $
37.\" 37.\"
38.Dd June 4, 1993 38.Dd June 4, 1993
39.Dt QSORT 3 39.Dt QSORT 3
@@ -71,7 +71,7 @@ objects, the initial member of which is pointed to by
71.Fa base . 71.Fa base .
72The size of each object is specified by 72The size of each object is specified by
73.Fa size . 73.Fa size .
74.Fn Mergesort 74.Fn mergesort
75behaves similarly, but 75behaves similarly, but
76.Em requires 76.Em requires
77that 77that
@@ -108,7 +108,7 @@ The
108function is an implementation of C.A.R. Hoare's ``quicksort'' algorithm, 108function is an implementation of C.A.R. Hoare's ``quicksort'' algorithm,
109a variant of partition-exchange sorting; in particular, see D.E. Knuth's 109a variant of partition-exchange sorting; in particular, see D.E. Knuth's
110Algorithm Q. 110Algorithm Q.
111.Fn Qsort 111.Fn qsort
112takes O N lg N average time. 112takes O N lg N average time.
113This implementation uses median selection to avoid its 113This implementation uses median selection to avoid its
114O N**2 worst-case behavior. 114O N**2 worst-case behavior.
@@ -117,7 +117,7 @@ The
117.Fn heapsort 117.Fn heapsort
118function is an implementation of J.W.J. William's ``heapsort'' algorithm, 118function is an implementation of J.W.J. William's ``heapsort'' algorithm,
119a variant of selection sorting; in particular, see D.E. Knuth's Algorithm H. 119a variant of selection sorting; in particular, see D.E. Knuth's Algorithm H.
120.Fn Heapsort 120.Fn heapsort
121takes O N lg N worst-case time. 121takes O N lg N worst-case time.
122Its 122Its
123.Em only 123.Em only
@@ -133,7 +133,7 @@ requires additional memory of size
133.Fa nmemb * 133.Fa nmemb *
134.Fa size 134.Fa size
135bytes; it should be used only when space is not at a premium. 135bytes; it should be used only when space is not at a premium.
136.Fn Mergesort 136.Fn mergesort
137is optimized for data with pre-existing order; its worst case 137is optimized for data with pre-existing order; its worst case
138time is O N lg N; its best case is O N. 138time is O N lg N; its best case is O N.
139.Pp 139.Pp
@@ -175,7 +175,7 @@ argument to
175is less than 175is less than
176.Dq "sizeof(void *) / 2" . 176.Dq "sizeof(void *) / 2" .
177.It Bq Er ENOMEM 177.It Bq Er ENOMEM
178.Fn Heapsort 178.Fn heapsort
179or 179or
180.Fn mergesort 180.Fn mergesort
181were unable to allocate memory. 181were 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 @@
23.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 23.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
24.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\" 25.\"
26.\" $OpenBSD: tsearch.3,v 1.2 1998/06/21 22:13:49 millert Exp $ 26.\" $OpenBSD: tsearch.3,v 1.3 1999/02/27 21:56:03 deraadt Exp $
27.\" 27.\"
28.Dd June 15, 1997 28.Dd June 15, 1997
29.Dt TSEARCH 3 29.Dt TSEARCH 3
@@ -53,7 +53,7 @@ from Knuth (6.2.2). The comparison function passed in by
53the user has the same style of return values as 53the user has the same style of return values as
54.Xr strcmp 3 . 54.Xr strcmp 3 .
55.Pp 55.Pp
56.Fn Tfind 56.Fn tfind
57searches for the datum matched by the argument 57searches for the datum matched by the argument
58.Fa key 58.Fa key
59in the binary tree rooted at 59in the binary tree rooted at
@@ -61,7 +61,7 @@ in the binary tree rooted at
61returning a pointer to the datum if it is found and NULL 61returning a pointer to the datum if it is found and NULL
62if it is not. 62if it is not.
63.Pp 63.Pp
64.Fn Tsearch 64.Fn tsearch
65is identical to 65is identical to
66.Fn tfind 66.Fn tfind
67except that if no match is found, 67except that if no match is found,
@@ -70,7 +70,7 @@ is inserted into the tree and a pointer to it is returned. If
70.Fa rootp 70.Fa rootp
71points to a NULL value a new binary search tree is created. 71points to a NULL value a new binary search tree is created.
72.Pp 72.Pp
73.Fn Tdelete 73.Fn tdelete
74deletes a node from the specified binary search tree and returns 74deletes a node from the specified binary search tree and returns
75a pointer to the parent of the node to be deleted. 75a pointer to the parent of the node to be deleted.
76It takes the same arguments as 76It takes the same arguments as
@@ -81,13 +81,13 @@ If the node to be deleted is the root of the binary search tree,
81.Fa rootp 81.Fa rootp
82will be adjusted. 82will be adjusted.
83.Pp 83.Pp
84.Fn Twalk 84.Fn twalk
85walks the binary search tree rooted in 85walks the binary search tree rooted in
86.fa root 86.fa root
87and calls the function 87and calls the function
88.Fa action 88.Fa action
89on each node. 89on each node.
90.Fa Action 90.Fa action
91is called with three arguments: a pointer to the current node, 91is called with three arguments: a pointer to the current node,
92a value from the enum 92a value from the enum
93.Sy "typedef enum { preorder, postorder, endorder, leaf } VISIT;" 93.Sy "typedef enum { preorder, postorder, endorder, leaf } VISIT;"
@@ -103,7 +103,7 @@ The
103function returns NULL if allocation of a new node fails (usually 103function returns NULL if allocation of a new node fails (usually
104due to a lack of free memory). 104due to a lack of free memory).
105.Pp 105.Pp
106.Fn Tfind , 106.Fn tfind ,
107.Fn tsearch , 107.Fn tsearch ,
108and 108and
109.Fn tdelete 109.Fn tdelete