aboutsummaryrefslogtreecommitdiffstats
path: root/libhaiku_generic.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-01 02:16:25 +0100
committerMattias Andrée <maandree@kth.se>2021-03-01 02:16:25 +0100
commit4c1a6e380ebe76e256b2af1313cf256d9fea70df (patch)
treee20184a304c0ba1160477b644504fbb2e8146319 /libhaiku_generic.3
parentMerge pull request #2 from ayekat/master (diff)
parentmisc + change license + changed behaviour of libhaiku_perror (diff)
downloadlibhaiku-4c1a6e380ebe76e256b2af1313cf256d9fea70df.tar.gz
libhaiku-4c1a6e380ebe76e256b2af1313cf256d9fea70df.tar.bz2
libhaiku-4c1a6e380ebe76e256b2af1313cf256d9fea70df.tar.xz
Merge branch 'rewrite'2.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libhaiku_generic.335
1 files changed, 35 insertions, 0 deletions
diff --git a/libhaiku_generic.3 b/libhaiku_generic.3
new file mode 100644
index 0000000..76da987
--- /dev/null
+++ b/libhaiku_generic.3
@@ -0,0 +1,35 @@
+.TH LIBHAIKU_GENERIC 3 LIBHAIKU
+.SH NAME
+libhaiku_generic \- Get a generic, poetic error message
+
+.SH SYNOPSIS
+.nf
+#include <libhaiku.h>
+
+const char *libhaiku_generic(void);
+.fi
+.PP
+Link with
+.IR \-lhaiku .
+
+.SH DESCRIPTION
+The
+.BR libhaiku_generic ()
+function returns an error message in the
+form of a haiku, that is generic and can
+be used for any error.
+
+.SH RETURN VALUES
+The
+.BR libhaiku_generic ()
+returns a generic, poetic error message
+in the form of a haiku
+
+.SH ERRORS
+Impossible.
+
+.SH SEE ALSO
+.BR libhaiku (7),
+.BR libhaiku_perror (3),
+.BR libhaiku_perror2 (3),
+.BR libhaiku_strerror (3)