summaryrefslogtreecommitdiffstats
path: root/contrib/gperf/gperf.1
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-10 13:48:14 +0000
committerpeter <peter@FreeBSD.org>1996-09-10 13:48:14 +0000
commit6cfe3ae61b383acc12d75bc595be2ab185d5586c (patch)
treefcddaf1b0d2794e9b555d2efd1246544e39a39ce /contrib/gperf/gperf.1
downloadFreeBSD-src-6cfe3ae61b383acc12d75bc595be2ab185d5586c.zip
FreeBSD-src-6cfe3ae61b383acc12d75bc595be2ab185d5586c.tar.gz
Import the FSF release of gperf-2.1a, used in the build of gcc-2.7.2.1
(to be imported soon).
Diffstat (limited to 'contrib/gperf/gperf.1')
-rw-r--r--contrib/gperf/gperf.123
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/gperf/gperf.1 b/contrib/gperf/gperf.1
new file mode 100644
index 0000000..5673c80
--- /dev/null
+++ b/contrib/gperf/gperf.1
@@ -0,0 +1,23 @@
+.TH GPERF 1 "December 16, 1988
+.UC 4
+.SH NAME
+gperf \- generate a perfect hash function from a key set
+.SH SYNOPSIS
+.B gperf
+[
+.B \-adghijklnoprsStv
+] [
+.I keyfile
+]
+.SH DESCRIPTION
+
+\fIgperf\fP reads a set of ``keys'' from \fIkeyfile\fP (or, by
+default, from the standard input) and attempts to find a non-minimal
+perfect hashing function that recognizes a member of the key set in
+constant, i.e., O(1), time. If such a function is found the program
+generates a pair of \fIC\fP source code routines that perform the
+hashing and table lookup. All generated code is directed to the
+standard output.
+
+Please refer to the \fIgperf.texinfo\fP file for more information.
+This file is distributed with \fIgperf\fP release.
OpenPOWER on IntegriCloud