diff options
Diffstat (limited to 'libmpio/mpio.h')
-rw-r--r-- | libmpio/mpio.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libmpio/mpio.h b/libmpio/mpio.h index b4c381c..7df2349 100644 --- a/libmpio/mpio.h +++ b/libmpio/mpio.h @@ -1,7 +1,7 @@ /* -*- linux-c -*- */ /* - * $Id: mpio.h,v 1.5 2002/09/18 22:18:29 germeier Exp $ + * $Id: mpio.h,v 1.6 2002/09/19 20:46:02 crunchy Exp $ * * Library for USB MPIO-* * @@ -95,6 +95,19 @@ int mpio_sync(mpio_t *, mpio_mem_t); int mpio_memory_debug(mpio_t *, mpio_mem_t); /* + * error handling + */ + +/* returns error code of last error */ +int mpio_errno(void); + +/* returns the description of the error <errno> */ +char * mpio_strerror(int errno); + +/* prints the error message of the last error*/ +void mpio_perror(char *prefix); + +/* * timeline: * --------- * 2004: some functions to change the order of files |