From: John Hodge Date: Tue, 30 Jul 2013 03:02:08 +0000 (+0800) Subject: Usermode/libc - Added ENOTTY to errno X-Git-Tag: rel0.15~303 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=e31f60edab8600254145b8c5dbfcca423c75260b;p=tpg%2Facess2.git Usermode/libc - Added ENOTTY to errno --- diff --git a/Usermode/Libraries/libc.so_src/errno.c b/Usermode/Libraries/libc.so_src/errno.c index af369b12..a2d78909 100644 --- a/Usermode/Libraries/libc.so_src/errno.c +++ b/Usermode/Libraries/libc.so_src/errno.c @@ -42,6 +42,7 @@ EXPORT char *strerror(int errnum) case EADDRNOTAVAIL: return "Address not avaliable"; case EINPROGRESS: return "Operation in process"; case EPERM: return "Operation not permitted"; + case ENOTTY: return "Not a TTY"; case EAGAIN: return "Try again"; case EALREADY: return "Operation was no-op"; case EINTERNAL: return "Internal error"; diff --git a/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h b/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h index be953d48..3ebf26d2 100755 --- a/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h +++ b/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h @@ -23,6 +23,7 @@ enum libc_eErrorNumbers { EADDRNOTAVAIL, // ? EINPROGRESS, // ? EPERM, // Permissions error + ENOTTY, // not a tty EAGAIN, // Try again EALREADY, // Operation was a NOP