diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 14:46:23 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 14:46:28 +0100 |
| commit | 9510738b0aaf7e7d8516c895597a591827eb596a (patch) | |
| tree | b473e9a472e5b2d618436d849981129acf8b16eb | |
| parent | Update e-mail (diff) | |
| download | libhaiku-9510738b0aaf7e7d8516c895597a591827eb596a.tar.gz libhaiku-9510738b0aaf7e7d8516c895597a591827eb596a.tar.bz2 libhaiku-9510738b0aaf7e7d8516c895597a591827eb596a.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | README | 2 | ||||
| -rw-r--r-- | libhaiku.c | 6 | ||||
| -rw-r--r-- | libhaiku.h | 4 |
4 files changed, 8 insertions, 8 deletions
@@ -15,8 +15,8 @@ LIB_MINOR = 0 LIB_VERSION = $(LIB_MAJOR).$(LIB_MINOR) -MAN3 = libhaiku.7 -MAN7 = libhaiku_generic.3 libhaiku_perror.3 libhaiku_perror2.3 libhaiku_strerror.3 +MAN3 = libhaiku_generic.3 libhaiku_perror.3 libhaiku_perror2.3 libhaiku_strerror.3 +MAN7 = libhaiku.7 OBJ = libhaiku.o HDR = libhaiku.h @@ -2,7 +2,7 @@ NAME libhaiku - Poetic error messages DESCRIPTION - libhaiku is an API on top of a collection of haiku, + libhaiku is an API on top of a collection of haiku that lets a programmer make a program print haiku for error messages. Instead of calling perror(3), the program should call libhaiku_perror(3). @@ -99,8 +99,8 @@ libhaiku_generic(void) * Get a poetic error message * * @param errnum `errno` value that the error message shall be selected for - * @param genericp Unless `NULL`, will be set to 1 if the function didn't have - * any haikus specific the the specified error, and had to + * @param genericp Unless `NULL`, will be set to 1 if the function did not have + * any haikus specific to the specified error, and had to * return a generic haiku, and to 0 otherwise * @return A poetic error message */ @@ -205,7 +205,7 @@ libhaiku_strerror(int errnum, int *genericp) #ifdef EHOSTDOWN case EHOSTDOWN: - H("Windows NT crashed.\n""I am the Blue Screen of Death.\n""Noone hears your screams.\n", + H("Windows NT crashed.\n""I am the Blue Screen of Death.\n""No one hears your screams.\n", "Won't you please observe\n""a brief moment of silence\n""For the dead server?\n"); #endif @@ -15,8 +15,8 @@ const char *libhaiku_generic(void); * Get a poetic error message * * @param errnum `errno` value that the error message shall be selected for - * @param genericp Unless `NULL`, will be set to 1 if the function didn't have - * any haikus specific the the specified error, and had to + * @param genericp Unless `NULL`, will be set to 1 if the function did not have + * any haikus specific to the specified error, and had to * return a generic haiku, and to 0 otherwise * @return A poetic error message */ |
