diff options
author | deraadt <> | 1999-02-27 21:56:03 +0000 |
---|---|---|
committer | deraadt <> | 1999-02-27 21:56:03 +0000 |
commit | 2a942b8fa85b25e91c59f4636ca30de7d0227ae7 (patch) | |
tree | 2eebc38452da9b74e0b0629addbf28530b68af52 /src | |
parent | 5ea49c86fd68a22175e9718cf7b1c92d23659827 (diff) | |
download | openbsd-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.3 | 4 | ||||
-rw-r--r-- | src/lib/libc/net/resolver.3 | 4 | ||||
-rw-r--r-- | src/lib/libc/stdlib/a64l.3 | 4 | ||||
-rw-r--r-- | src/lib/libc/stdlib/exit.3 | 4 | ||||
-rw-r--r-- | src/lib/libc/stdlib/qsort.3 | 12 | ||||
-rw-r--r-- | src/lib/libc/stdlib/tsearch.3 | 14 |
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 |
124 | for the domain search procedure and the alias file format. | 124 | for the domain search procedure and the alias file format. |
125 | .Pp | 125 | .Pp |
126 | .Fn Gethostbyname2 | 126 | .Fn gethostbyname2 |
127 | is an advanced form of | 127 | is an advanced form of |
128 | .Fn gethostbyname | 128 | .Fn gethostbyname |
129 | which allows lookups in address families other than | 129 | 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 @@ | |||
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 . |
251 | The domain name for the query is given by | 251 | The domain name for the query is given by |
252 | .Fa dname . | 252 | .Fa dname . |
253 | .Fa Newrr | 253 | .Fa newrr |
254 | is currently unused but is intended for making update messages. | 254 | is currently unused but is intended for making update messages. |
255 | .Pp | 255 | .Pp |
256 | The | 256 | 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 @@ | |||
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 | |||
61 | contains more than six characters, | 61 | contains more than six characters, |
62 | .Fn a64l | 62 | .Fn a64l |
63 | will use the first six. | 63 | will use the first six. |
64 | .Fn A64l | 64 | .Fn a64l |
65 | scans the character string from left to right, decoding | 65 | scans the character string from left to right, decoding |
66 | each character as a 6-bit radix-64 number. If a long integer is | 66 | each character as a 6-bit radix-64 number. If a long integer is |
67 | larger than 32 bits, the return value will be sign-extended. | 67 | 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 @@ | |||
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 |
50 | terminates a process. | 50 | terminates a process. |
51 | .Pp | 51 | .Pp |
52 | Before termination it performs the following functions in the | 52 | 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 @@ | |||
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 . |
72 | The size of each object is specified by | 72 | The size of each object is specified by |
73 | .Fa size . | 73 | .Fa size . |
74 | .Fn Mergesort | 74 | .Fn mergesort |
75 | behaves similarly, but | 75 | behaves similarly, but |
76 | .Em requires | 76 | .Em requires |
77 | that | 77 | that |
@@ -108,7 +108,7 @@ The | |||
108 | function is an implementation of C.A.R. Hoare's ``quicksort'' algorithm, | 108 | function is an implementation of C.A.R. Hoare's ``quicksort'' algorithm, |
109 | a variant of partition-exchange sorting; in particular, see D.E. Knuth's | 109 | a variant of partition-exchange sorting; in particular, see D.E. Knuth's |
110 | Algorithm Q. | 110 | Algorithm Q. |
111 | .Fn Qsort | 111 | .Fn qsort |
112 | takes O N lg N average time. | 112 | takes O N lg N average time. |
113 | This implementation uses median selection to avoid its | 113 | This implementation uses median selection to avoid its |
114 | O N**2 worst-case behavior. | 114 | O N**2 worst-case behavior. |
@@ -117,7 +117,7 @@ The | |||
117 | .Fn heapsort | 117 | .Fn heapsort |
118 | function is an implementation of J.W.J. William's ``heapsort'' algorithm, | 118 | function is an implementation of J.W.J. William's ``heapsort'' algorithm, |
119 | a variant of selection sorting; in particular, see D.E. Knuth's Algorithm H. | 119 | a variant of selection sorting; in particular, see D.E. Knuth's Algorithm H. |
120 | .Fn Heapsort | 120 | .Fn heapsort |
121 | takes O N lg N worst-case time. | 121 | takes O N lg N worst-case time. |
122 | Its | 122 | Its |
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 |
135 | bytes; it should be used only when space is not at a premium. | 135 | bytes; it should be used only when space is not at a premium. |
136 | .Fn Mergesort | 136 | .Fn mergesort |
137 | is optimized for data with pre-existing order; its worst case | 137 | is optimized for data with pre-existing order; its worst case |
138 | time is O N lg N; its best case is O N. | 138 | time is O N lg N; its best case is O N. |
139 | .Pp | 139 | .Pp |
@@ -175,7 +175,7 @@ argument to | |||
175 | is less than | 175 | is 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 |
179 | or | 179 | or |
180 | .Fn mergesort | 180 | .Fn mergesort |
181 | were unable to allocate memory. | 181 | 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 @@ | |||
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 | |||
53 | the user has the same style of return values as | 53 | the 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 |
57 | searches for the datum matched by the argument | 57 | searches for the datum matched by the argument |
58 | .Fa key | 58 | .Fa key |
59 | in the binary tree rooted at | 59 | in the binary tree rooted at |
@@ -61,7 +61,7 @@ in the binary tree rooted at | |||
61 | returning a pointer to the datum if it is found and NULL | 61 | returning a pointer to the datum if it is found and NULL |
62 | if it is not. | 62 | if it is not. |
63 | .Pp | 63 | .Pp |
64 | .Fn Tsearch | 64 | .Fn tsearch |
65 | is identical to | 65 | is identical to |
66 | .Fn tfind | 66 | .Fn tfind |
67 | except that if no match is found, | 67 | except 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 |
71 | points to a NULL value a new binary search tree is created. | 71 | points to a NULL value a new binary search tree is created. |
72 | .Pp | 72 | .Pp |
73 | .Fn Tdelete | 73 | .Fn tdelete |
74 | deletes a node from the specified binary search tree and returns | 74 | deletes a node from the specified binary search tree and returns |
75 | a pointer to the parent of the node to be deleted. | 75 | a pointer to the parent of the node to be deleted. |
76 | It takes the same arguments as | 76 | It 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 |
82 | will be adjusted. | 82 | will be adjusted. |
83 | .Pp | 83 | .Pp |
84 | .Fn Twalk | 84 | .Fn twalk |
85 | walks the binary search tree rooted in | 85 | walks the binary search tree rooted in |
86 | .fa root | 86 | .fa root |
87 | and calls the function | 87 | and calls the function |
88 | .Fa action | 88 | .Fa action |
89 | on each node. | 89 | on each node. |
90 | .Fa Action | 90 | .Fa action |
91 | is called with three arguments: a pointer to the current node, | 91 | is called with three arguments: a pointer to the current node, |
92 | a value from the enum | 92 | a 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 | |||
103 | function returns NULL if allocation of a new node fails (usually | 103 | function returns NULL if allocation of a new node fails (usually |
104 | due to a lack of free memory). | 104 | due to a lack of free memory). |
105 | .Pp | 105 | .Pp |
106 | .Fn Tfind , | 106 | .Fn tfind , |
107 | .Fn tsearch , | 107 | .Fn tsearch , |
108 | and | 108 | and |
109 | .Fn tdelete | 109 | .Fn tdelete |