summaryrefslogtreecommitdiffstats
path: root/man/oh_error.3.in
diff options
context:
space:
mode:
Diffstat (limited to 'man/oh_error.3.in')
-rw-r--r--man/oh_error.3.in43
1 files changed, 43 insertions, 0 deletions
diff --git a/man/oh_error.3.in b/man/oh_error.3.in
new file mode 100644
index 0000000..86ec260
--- /dev/null
+++ b/man/oh_error.3.in
@@ -0,0 +1,43 @@
+.TH oh_error 3 "@@DATE@@" "@@PACKAGE@@-@@VERSION@@" "@@DESCRIPTION@@"
+
+.SH NAME
+oh_error - print an error message and exit
+
+.SH SYNOPSIS
+.B . @@LIBDIR@@/messages
+.P
+.B oh_error
+.I format
+.RI [ argument ]...
+
+.SH DESCRIPTION
+.BR oh_error ()
+prints
+.IR argument s
+according to
+.I format
+and then exits the application.
+.P
+See
+.BR printf (1)
+for the syntax of
+.IR format .
+
+.SH RETURN VALUE
+None.
+
+.SH COPYRIGHT
+Copyright (C) 2012 Patrick "P. J." McDermott
+.P
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+.P
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+.P
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.