Browse Source

make function names the correct case

OPENBSD_2_5
deraadt 25 years ago
parent
commit
7f5df2724f
6 changed files with 21 additions and 21 deletions
  1. +2
    -2
      src/lib/libc/stdlib/a64l.3
  2. +2
    -2
      src/lib/libc/stdlib/exit.3
  3. +6
    -6
      src/lib/libc/stdlib/qsort.3
  4. +7
    -7
      src/lib/libc/stdlib/tsearch.3
  5. +2
    -2
      src/lib/libutil/getmaxpartitions.3
  6. +2
    -2
      src/lib/libutil/getrawpartition.3

+ 2
- 2
src/lib/libc/stdlib/a64l.3 View File

@ -24,7 +24,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" 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 .Dd August 17, 1997
.Dt A64L 3 .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, contains more than six characters,
.Fn a64l .Fn a64l
will use the first six. will use the first six.
.Fn A64l
.Fn a64l
scans the character string from left to right, decoding scans the character string from left to right, decoding
each character as a 6-bit radix-64 number. If a long integer is 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. larger than 32 bits, the return value will be sign-extended.


+ 2
- 2
src/lib/libc/stdlib/exit.3 View File

@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dd June 29, 1991
.Dt EXIT 3 .Dt EXIT 3
@ -46,7 +46,7 @@
.Ft void .Ft void
.Fn exit "int status" .Fn exit "int status"
.Sh DESCRIPTION .Sh DESCRIPTION
.Fn Exit
.Fn exit
terminates a process. terminates a process.
.Pp .Pp
Before termination it performs the following functions in the Before termination it performs the following functions in the


+ 6
- 6
src/lib/libc/stdlib/qsort.3 View File

@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dd June 4, 1993
.Dt QSORT 3 .Dt QSORT 3
@ -71,7 +71,7 @@ objects, the initial member of which is pointed to by
.Fa base . .Fa base .
The size of each object is specified by The size of each object is specified by
.Fa size . .Fa size .
.Fn Mergesort
.Fn mergesort
behaves similarly, but behaves similarly, but
.Em requires .Em requires
that that
@ -108,7 +108,7 @@ The
function is an implementation of C.A.R. Hoare's ``quicksort'' algorithm, 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 a variant of partition-exchange sorting; in particular, see D.E. Knuth's
Algorithm Q. Algorithm Q.
.Fn Qsort
.Fn qsort
takes O N lg N average time. takes O N lg N average time.
This implementation uses median selection to avoid its This implementation uses median selection to avoid its
O N**2 worst-case behavior. O N**2 worst-case behavior.
@ -117,7 +117,7 @@ The
.Fn heapsort .Fn heapsort
function is an implementation of J.W.J. William's ``heapsort'' algorithm, 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. 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. takes O N lg N worst-case time.
Its Its
.Em only .Em only
@ -133,7 +133,7 @@ requires additional memory of size
.Fa nmemb * .Fa nmemb *
.Fa size .Fa size
bytes; it should be used only when space is not at a premium. 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 is optimized for data with pre-existing order; its worst case
time is O N lg N; its best case is O N. time is O N lg N; its best case is O N.
.Pp .Pp
@ -175,7 +175,7 @@ argument to
is less than is less than
.Dq "sizeof(void *) / 2" . .Dq "sizeof(void *) / 2" .
.It Bq Er ENOMEM .It Bq Er ENOMEM
.Fn Heapsort
.Fn heapsort
or or
.Fn mergesort .Fn mergesort
were unable to allocate memory. were unable to allocate memory.


+ 7
- 7
src/lib/libc/stdlib/tsearch.3 View File

@ -23,7 +23,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" 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 .Dd June 15, 1997
.Dt TSEARCH 3 .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 the user has the same style of return values as
.Xr strcmp 3 . .Xr strcmp 3 .
.Pp .Pp
.Fn Tfind
.Fn tfind
searches for the datum matched by the argument searches for the datum matched by the argument
.Fa key .Fa key
in the binary tree rooted at 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 returning a pointer to the datum if it is found and NULL
if it is not. if it is not.
.Pp .Pp
.Fn Tsearch
.Fn tsearch
is identical to is identical to
.Fn tfind .Fn tfind
except that if no match is found, 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 .Fa rootp
points to a NULL value a new binary search tree is created. points to a NULL value a new binary search tree is created.
.Pp .Pp
.Fn Tdelete
.Fn tdelete
deletes a node from the specified binary search tree and returns deletes a node from the specified binary search tree and returns
a pointer to the parent of the node to be deleted. a pointer to the parent of the node to be deleted.
It takes the same arguments as 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 .Fa rootp
will be adjusted. will be adjusted.
.Pp .Pp
.Fn Twalk
.Fn twalk
walks the binary search tree rooted in walks the binary search tree rooted in
.fa root .fa root
and calls the function and calls the function
.Fa action .Fa action
on each node. on each node.
.Fa Action
.Fa action
is called with three arguments: a pointer to the current node, 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;" .Sy "typedef enum { preorder, postorder, endorder, leaf } VISIT;"
@ -103,7 +103,7 @@ The
function returns NULL if allocation of a new node fails (usually function returns NULL if allocation of a new node fails (usually
due to a lack of free memory). due to a lack of free memory).
.Pp .Pp
.Fn Tfind ,
.Fn tfind ,
.Fn tsearch , .Fn tsearch ,
and and
.Fn tdelete .Fn tdelete


+ 2
- 2
src/lib/libutil/getmaxpartitions.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: getmaxpartitions.3,v 1.2 1996/10/08 01:20:18 michaels Exp $
.\" $OpenBSD: getmaxpartitions.3,v 1.3 1999/02/27 21:57:40 deraadt Exp $
.\" $NetBSD: getmaxpartitions.3,v 1.1 1996/05/16 07:03:30 thorpej Exp $ .\" $NetBSD: getmaxpartitions.3,v 1.1 1996/05/16 07:03:30 thorpej Exp $
.\" .\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,7 +46,7 @@
.Ft int .Ft int
.Fn getmaxpartitions void .Fn getmaxpartitions void
.Sh DESCRIPTION .Sh DESCRIPTION
.Fn Getmaxpartitions
.Fn getmaxpartitions
returns the number of partitions that are allowed per disk on the returns the number of partitions that are allowed per disk on the
system. system.
.Sh SEE ALSO .Sh SEE ALSO


+ 2
- 2
src/lib/libutil/getrawpartition.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: getrawpartition.3,v 1.2 1996/10/08 01:20:18 michaels Exp $
.\" $OpenBSD: getrawpartition.3,v 1.3 1999/02/27 21:57:40 deraadt Exp $
.\" $NetBSD: getrawpartition.3,v 1.1 1996/05/16 07:03:32 thorpej Exp $ .\" $NetBSD: getrawpartition.3,v 1.1 1996/05/16 07:03:32 thorpej Exp $
.\" .\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -48,7 +48,7 @@ partition
.Ft int .Ft int
.Fn getrawpartition void .Fn getrawpartition void
.Sh DESCRIPTION .Sh DESCRIPTION
.Fn Getrawpartition
.Fn getrawpartition
returns the partition number ( returns the partition number (
.Sq a .Sq a
== 0, == 0,


Loading…
Cancel
Save