From f00cbc2321649c74c078784a1fc47da3b10e1a54 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Mon, 12 Sep 2011 14:58:16 -0500 Subject: Return code cleanups. Change-Id: I375c2f895f28b73948aa384dda781b31f027719b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/334 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/include/errno.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/include/errno.h') diff --git a/src/include/errno.h b/src/include/errno.h index 0db3043ec..678f20131 100644 --- a/src/include/errno.h +++ b/src/include/errno.h @@ -23,9 +23,12 @@ #ifndef _ERRNO_H #define _ERRNO_H -#define EIO 5 // I/O error +#define ENOENT 2 // No such file or directory +#define EIO 5 // I/O error +#define ENOEXEC 8 // Exec format error +#define EBADF 9 // Bad file descriptor #define EAGAIN 11 // Try again -#define EFAULT 14 // Bad address +#define EFAULT 14 // Bad address #define EINVAL 22 // Invalid argument #define EWOULDBLOCK EAGAIN // operation would block -- cgit v1.2.1