Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/include/rump regen
details: https://anonhg.NetBSD.org/src/rev/eb0fa4bc278e
branches: trunk
changeset: 340582:eb0fa4bc278e
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Sep 15 14:55:55 2015 +0000
description:
regen
diffstat:
sys/rump/include/rump/rumpdefs.h | 2 +-
sys/rump/include/rump/rumperr.h | 2 +-
sys/rump/include/rump/rumperrno2host.h | 411 +++++++++++++++++++++++++++++++++
3 files changed, 413 insertions(+), 2 deletions(-)
diffs (truncated from 433 to 300 lines):
diff -r 91386e4b7809 -r eb0fa4bc278e sys/rump/include/rump/rumpdefs.h
--- a/sys/rump/include/rump/rumpdefs.h Tue Sep 15 14:55:12 2015 +0000
+++ b/sys/rump/include/rump/rumpdefs.h Tue Sep 15 14:55:55 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpdefs.h,v 1.32 2015/09/10 16:21:48 pooka Exp $ */
+/* $NetBSD: rumpdefs.h,v 1.33 2015/09/15 14:55:55 pooka Exp $ */
/*
* AUTOMATICALLY GENERATED. DO NOT EDIT.
diff -r 91386e4b7809 -r eb0fa4bc278e sys/rump/include/rump/rumperr.h
--- a/sys/rump/include/rump/rumperr.h Tue Sep 15 14:55:12 2015 +0000
+++ b/sys/rump/include/rump/rumperr.h Tue Sep 15 14:55:55 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumperr.h,v 1.3 2015/09/10 16:21:48 pooka Exp $ */
+/* $NetBSD: rumperr.h,v 1.4 2015/09/15 14:55:55 pooka Exp $ */
/*
* AUTOMATICALLY GENERATED. DO NOT EDIT.
diff -r 91386e4b7809 -r eb0fa4bc278e sys/rump/include/rump/rumperrno2host.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/include/rump/rumperrno2host.h Tue Sep 15 14:55:55 2015 +0000
@@ -0,0 +1,411 @@
+/* $NetBSD: rumperrno2host.h,v 1.1 2015/09/15 14:55:55 pooka Exp $ */
+
+/*
+ * AUTOMATICALLY GENERATED. DO NOT EDIT.
+ */
+
+/* NetBSD: errno.h,v 1.40 2013/01/02 18:51:53 dsl Exp */
+
+#ifndef ERANGE
+#error include ISO C style errno.h first
+#endif
+
+static inline int
+rump_errno2host(int rumperrno)
+{
+
+ switch (rumperrno) {
+ case 0:
+ return 0;
+#ifdef EPERM
+ case 1:
+ return EPERM;
+#endif
+#ifdef ENOENT
+ case 2:
+ return ENOENT;
+#endif
+#ifdef ESRCH
+ case 3:
+ return ESRCH;
+#endif
+#ifdef EINTR
+ case 4:
+ return EINTR;
+#endif
+#ifdef EIO
+ case 5:
+ return EIO;
+#endif
+#ifdef ENXIO
+ case 6:
+ return ENXIO;
+#endif
+#ifdef E2BIG
+ case 7:
+ return E2BIG;
+#endif
+#ifdef ENOEXEC
+ case 8:
+ return ENOEXEC;
+#endif
+#ifdef EBADF
+ case 9:
+ return EBADF;
+#endif
+#ifdef ECHILD
+ case 10:
+ return ECHILD;
+#endif
+#ifdef EDEADLK
+ case 11:
+ return EDEADLK;
+#endif
+#ifdef ENOMEM
+ case 12:
+ return ENOMEM;
+#endif
+#ifdef EACCES
+ case 13:
+ return EACCES;
+#endif
+#ifdef EFAULT
+ case 14:
+ return EFAULT;
+#endif
+#ifdef ENOTBLK
+ case 15:
+ return ENOTBLK;
+#endif
+#ifdef EBUSY
+ case 16:
+ return EBUSY;
+#endif
+#ifdef EEXIST
+ case 17:
+ return EEXIST;
+#endif
+#ifdef EXDEV
+ case 18:
+ return EXDEV;
+#endif
+#ifdef ENODEV
+ case 19:
+ return ENODEV;
+#endif
+#ifdef ENOTDIR
+ case 20:
+ return ENOTDIR;
+#endif
+#ifdef EISDIR
+ case 21:
+ return EISDIR;
+#endif
+#ifdef EINVAL
+ case 22:
+ return EINVAL;
+#endif
+#ifdef ENFILE
+ case 23:
+ return ENFILE;
+#endif
+#ifdef EMFILE
+ case 24:
+ return EMFILE;
+#endif
+#ifdef ENOTTY
+ case 25:
+ return ENOTTY;
+#endif
+#ifdef ETXTBSY
+ case 26:
+ return ETXTBSY;
+#endif
+#ifdef EFBIG
+ case 27:
+ return EFBIG;
+#endif
+#ifdef ENOSPC
+ case 28:
+ return ENOSPC;
+#endif
+#ifdef ESPIPE
+ case 29:
+ return ESPIPE;
+#endif
+#ifdef EROFS
+ case 30:
+ return EROFS;
+#endif
+#ifdef EMLINK
+ case 31:
+ return EMLINK;
+#endif
+#ifdef EPIPE
+ case 32:
+ return EPIPE;
+#endif
+#ifdef EDOM
+ case 33:
+ return EDOM;
+#endif
+#ifdef ERANGE
+ case 34:
+ return ERANGE;
+#endif
+#ifdef EAGAIN
+ case 35:
+ return EAGAIN;
+#endif
+#ifdef EINPROGRESS
+ case 36:
+ return EINPROGRESS;
+#endif
+#ifdef EALREADY
+ case 37:
+ return EALREADY;
+#endif
+#ifdef ENOTSOCK
+ case 38:
+ return ENOTSOCK;
+#endif
+#ifdef EDESTADDRREQ
+ case 39:
+ return EDESTADDRREQ;
+#endif
+#ifdef EMSGSIZE
+ case 40:
+ return EMSGSIZE;
+#endif
+#ifdef EPROTOTYPE
+ case 41:
+ return EPROTOTYPE;
+#endif
+#ifdef ENOPROTOOPT
+ case 42:
+ return ENOPROTOOPT;
+#endif
+#ifdef EPROTONOSUPPORT
+ case 43:
+ return EPROTONOSUPPORT;
+#endif
+#ifdef ESOCKTNOSUPPORT
+ case 44:
+ return ESOCKTNOSUPPORT;
+#endif
+#ifdef EOPNOTSUPP
+ case 45:
+ return EOPNOTSUPP;
+#endif
+#ifdef EPFNOSUPPORT
+ case 46:
+ return EPFNOSUPPORT;
+#endif
+#ifdef EAFNOSUPPORT
+ case 47:
+ return EAFNOSUPPORT;
+#endif
+#ifdef EADDRINUSE
+ case 48:
+ return EADDRINUSE;
+#endif
+#ifdef EADDRNOTAVAIL
+ case 49:
+ return EADDRNOTAVAIL;
+#endif
+#ifdef ENETDOWN
+ case 50:
+ return ENETDOWN;
+#endif
+#ifdef ENETUNREACH
+ case 51:
+ return ENETUNREACH;
+#endif
+#ifdef ENETRESET
+ case 52:
+ return ENETRESET;
+#endif
+#ifdef ECONNABORTED
+ case 53:
+ return ECONNABORTED;
+#endif
+#ifdef ECONNRESET
+ case 54:
+ return ECONNRESET;
+#endif
+#ifdef ENOBUFS
+ case 55:
+ return ENOBUFS;
+#endif
+#ifdef EISCONN
+ case 56:
+ return EISCONN;
+#endif
+#ifdef ENOTCONN
+ case 57:
+ return ENOTCONN;
+#endif
+#ifdef ESHUTDOWN
+ case 58:
+ return ESHUTDOWN;
+#endif
+#ifdef ETOOMANYREFS
+ case 59:
+ return ETOOMANYREFS;
+#endif
+#ifdef ETIMEDOUT
+ case 60:
+ return ETIMEDOUT;
+#endif
+#ifdef ECONNREFUSED
+ case 61:
+ return ECONNREFUSED;
+#endif
+#ifdef ELOOP
+ case 62:
+ return ELOOP;
+#endif
+#ifdef ENAMETOOLONG
+ case 63:
+ return ENAMETOOLONG;
+#endif
+#ifdef EHOSTDOWN
+ case 64:
+ return EHOSTDOWN;
+#endif
+#ifdef EHOSTUNREACH
+ case 65:
+ return EHOSTUNREACH;
Home |
Main Index |
Thread Index |
Old Index