/* Generated by genstub.  Do not edit. */
#define LIBGAUCHE_BODY 
#include <gauche.h>

#line 38 "syslib.stub"
#include <locale.h>
#include <math.h>


#line 39 "syslib.stub"
#if !defined(GAUCHE_WINDOWS)

#line 40 "syslib.stub"
#include <grp.h>
#include <pwd.h>
#include <sys/wait.h>

#endif /* !defined(GAUCHE_WINDOWS) */


#line 41 "syslib.stub"
#if 0 /*dummy*/
#elif TIME_WITH_SYS_TIME

#line 41 "syslib.stub"
#include <sys/time.h>
#include <time.h>

#elif HAVE_SYS_TIME_H

#line 42 "syslib.stub"
#include <sys/time.h>

#else

#line 43 "syslib.stub"
#include <time.h>

#endif


#line 44 "syslib.stub"
#if HAVE_CRYPT_H

#line 44 "syslib.stub"
#include <crypt.h>

#endif /* HAVE_CRYPT_H */


#line 45 "syslib.stub"
#if HAVE_SYS_RESOURCE_H

#line 45 "syslib.stub"
#include <sys/resource.h>

#endif /* HAVE_SYS_RESOURCE_H */

#if defined(GAUCHE_WINDOWS)
static ScmClass *WinHandleClass = NULL;
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(__CYGWIN__) || defined(GAUCHE_WINDOWS)
#define SCM_CGEN_CONST /*empty*/
#else
#define SCM_CGEN_CONST const
#endif
static SCM_CGEN_CONST struct scm__scRec {
#if defined(HAVE_SELECT)
  ScmString d1309[7];
#endif /*defined(HAVE_SELECT)*/
#if defined(HAVE_READLINK)
  ScmString d1308[1];
#endif /*defined(HAVE_READLINK)*/
#if defined(HAVE_SYMLINK)
  ScmString d1307[1];
#endif /*defined(HAVE_SYMLINK)*/
#if defined(HAVE_CRYPT)
  ScmString d1306[1];
#endif /*defined(HAVE_CRYPT)*/
#if defined(HAVE_NANOSLEEP) || defined(GAUCHE_WINDOWS)
  ScmString d1305[1];
#endif /*defined(HAVE_NANOSLEEP) || defined(GAUCHE_WINDOWS)*/
#if defined HAVE_LCHOWN
  ScmString d1304[1];
#endif /*defined HAVE_LCHOWN*/
#if defined(GAUCHE_WINDOWS)
  ScmString d1303[6];
#endif /*defined(GAUCHE_WINDOWS)*/
#if !defined(GAUCHE_WINDOWS)
  ScmString d1302[2];
#endif /*!defined(GAUCHE_WINDOWS)*/
#if defined(RLIMIT_OFILE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1299[1];
#endif /*defined(RLIMIT_OFILE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_STACK)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1297[1];
#endif /*defined(RLIMIT_STACK)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_SBSIZE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1295[1];
#endif /*defined(RLIMIT_SBSIZE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_SIGPENDING)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1293[1];
#endif /*defined(RLIMIT_SIGPENDING)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_RTPRIO)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1291[1];
#endif /*defined(RLIMIT_RTPRIO)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_RSS)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1289[1];
#endif /*defined(RLIMIT_RSS)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_NPROC)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1287[1];
#endif /*defined(RLIMIT_NPROC)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_NOFILE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1285[1];
#endif /*defined(RLIMIT_NOFILE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_NICE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1283[1];
#endif /*defined(RLIMIT_NICE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_MSGQUEUE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1281[1];
#endif /*defined(RLIMIT_MSGQUEUE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_MEMLOCK)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1279[1];
#endif /*defined(RLIMIT_MEMLOCK)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_LOCKS)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1277[1];
#endif /*defined(RLIMIT_LOCKS)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_FSIZE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1275[1];
#endif /*defined(RLIMIT_FSIZE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_DATA)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1273[1];
#endif /*defined(RLIMIT_DATA)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_CPU)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1271[1];
#endif /*defined(RLIMIT_CPU)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_CORE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1269[1];
#endif /*defined(RLIMIT_CORE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_AS)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1267[1];
#endif /*defined(RLIMIT_AS)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(HAVE_SYS_RESOURCE_H)
  ScmString d1264[3];
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined HAVE_SIGWAIT
  ScmString d1263[1];
#endif /*defined HAVE_SIGWAIT*/
#if defined(EXFULL)
  ScmString d1262[1];
#endif /*defined(EXFULL)*/
#if defined(EXDEV)
  ScmString d1260[1];
#endif /*defined(EXDEV)*/
#if defined(EWOULDBLOCK)
  ScmString d1258[1];
#endif /*defined(EWOULDBLOCK)*/
#if defined(EUSERS)
  ScmString d1256[1];
#endif /*defined(EUSERS)*/
#if defined(EUNATCH)
  ScmString d1254[1];
#endif /*defined(EUNATCH)*/
#if defined(EUCLEAN)
  ScmString d1252[1];
#endif /*defined(EUCLEAN)*/
#if defined(ETXTBSY)
  ScmString d1250[1];
#endif /*defined(ETXTBSY)*/
#if defined(ETOOMANYREFS)
  ScmString d1248[1];
#endif /*defined(ETOOMANYREFS)*/
#if defined(ETIMEDOUT)
  ScmString d1246[1];
#endif /*defined(ETIMEDOUT)*/
#if defined(ETIME)
  ScmString d1244[1];
#endif /*defined(ETIME)*/
#if defined(ESTRPIPE)
  ScmString d1242[1];
#endif /*defined(ESTRPIPE)*/
#if defined(ESTALE)
  ScmString d1240[1];
#endif /*defined(ESTALE)*/
#if defined(ESRMNT)
  ScmString d1238[1];
#endif /*defined(ESRMNT)*/
#if defined(ESRCH)
  ScmString d1236[1];
#endif /*defined(ESRCH)*/
#if defined(ESPIPE)
  ScmString d1234[1];
#endif /*defined(ESPIPE)*/
#if defined(ESOCKTNOSUPPORT)
  ScmString d1232[1];
#endif /*defined(ESOCKTNOSUPPORT)*/
#if defined(ESHUTDOWN)
  ScmString d1230[1];
#endif /*defined(ESHUTDOWN)*/
#if defined(EROFS)
  ScmString d1228[1];
#endif /*defined(EROFS)*/
#if defined(ERESTART)
  ScmString d1226[1];
#endif /*defined(ERESTART)*/
#if defined(EREMOTEIO)
  ScmString d1224[1];
#endif /*defined(EREMOTEIO)*/
#if defined(EREMOTE)
  ScmString d1222[1];
#endif /*defined(EREMOTE)*/
#if defined(EREMCHG)
  ScmString d1220[1];
#endif /*defined(EREMCHG)*/
#if defined(ERANGE)
  ScmString d1218[1];
#endif /*defined(ERANGE)*/
#if defined(EPROTOTYPE)
  ScmString d1216[1];
#endif /*defined(EPROTOTYPE)*/
#if defined(EPROTONOSUPPORT)
  ScmString d1214[1];
#endif /*defined(EPROTONOSUPPORT)*/
#if defined(EPROTO)
  ScmString d1212[1];
#endif /*defined(EPROTO)*/
#if defined(EPIPE)
  ScmString d1210[1];
#endif /*defined(EPIPE)*/
#if defined(EPFNOSUPPORT)
  ScmString d1208[1];
#endif /*defined(EPFNOSUPPORT)*/
#if defined(EPERM)
  ScmString d1206[1];
#endif /*defined(EPERM)*/
#if defined(EOVERFLOW)
  ScmString d1204[1];
#endif /*defined(EOVERFLOW)*/
#if defined(EOPNOTSUPP)
  ScmString d1202[1];
#endif /*defined(EOPNOTSUPP)*/
#if defined(ENXIO)
  ScmString d1200[1];
#endif /*defined(ENXIO)*/
#if defined(ENOTUNIQ)
  ScmString d1198[1];
#endif /*defined(ENOTUNIQ)*/
#if defined(ENOTTY)
  ScmString d1196[1];
#endif /*defined(ENOTTY)*/
#if defined(ENOTSOCK)
  ScmString d1194[1];
#endif /*defined(ENOTSOCK)*/
#if defined(ENOTNAM)
  ScmString d1192[1];
#endif /*defined(ENOTNAM)*/
#if defined(ENOTEMPTY)
  ScmString d1190[1];
#endif /*defined(ENOTEMPTY)*/
#if defined(ENOTDIR)
  ScmString d1188[1];
#endif /*defined(ENOTDIR)*/
#if defined(ENOTCONN)
  ScmString d1186[1];
#endif /*defined(ENOTCONN)*/
#if defined(ENOTBLK)
  ScmString d1184[1];
#endif /*defined(ENOTBLK)*/
#if defined(ENOSYS)
  ScmString d1182[1];
#endif /*defined(ENOSYS)*/
#if defined(ENOSTR)
  ScmString d1180[1];
#endif /*defined(ENOSTR)*/
#if defined(ENOSR)
  ScmString d1178[1];
#endif /*defined(ENOSR)*/
#if defined(ENOSPC)
  ScmString d1176[1];
#endif /*defined(ENOSPC)*/
#if defined(ENOPROTOOPT)
  ScmString d1174[1];
#endif /*defined(ENOPROTOOPT)*/
#if defined(ENOPKG)
  ScmString d1172[1];
#endif /*defined(ENOPKG)*/
#if defined(ENONET)
  ScmString d1170[1];
#endif /*defined(ENONET)*/
#if defined(ENOMSG)
  ScmString d1168[1];
#endif /*defined(ENOMSG)*/
#if defined(ENOMEM)
  ScmString d1166[1];
#endif /*defined(ENOMEM)*/
#if defined(ENOMEDIUM)
  ScmString d1164[1];
#endif /*defined(ENOMEDIUM)*/
#if defined(ENOLINK)
  ScmString d1162[1];
#endif /*defined(ENOLINK)*/
#if defined(ENOLCK)
  ScmString d1160[1];
#endif /*defined(ENOLCK)*/
#if defined(ENOKEY)
  ScmString d1158[1];
#endif /*defined(ENOKEY)*/
#if defined(ENOEXEC)
  ScmString d1156[1];
#endif /*defined(ENOEXEC)*/
#if defined(ENOENT)
  ScmString d1154[1];
#endif /*defined(ENOENT)*/
#if defined(ENODEV)
  ScmString d1152[1];
#endif /*defined(ENODEV)*/
#if defined(ENODATA)
  ScmString d1150[1];
#endif /*defined(ENODATA)*/
#if defined(ENOCSI)
  ScmString d1148[1];
#endif /*defined(ENOCSI)*/
#if defined(ENOBUFS)
  ScmString d1146[1];
#endif /*defined(ENOBUFS)*/
#if defined(ENOANO)
  ScmString d1144[1];
#endif /*defined(ENOANO)*/
#if defined(ENFILE)
  ScmString d1142[1];
#endif /*defined(ENFILE)*/
#if defined(ENETUNREACH)
  ScmString d1140[1];
#endif /*defined(ENETUNREACH)*/
#if defined(ENETRESET)
  ScmString d1138[1];
#endif /*defined(ENETRESET)*/
#if defined(ENETDOWN)
  ScmString d1136[1];
#endif /*defined(ENETDOWN)*/
#if defined(ENAVAIL)
  ScmString d1134[1];
#endif /*defined(ENAVAIL)*/
#if defined(ENAMETOOLONG)
  ScmString d1132[1];
#endif /*defined(ENAMETOOLONG)*/
#if defined(EMULTIHOP)
  ScmString d1130[1];
#endif /*defined(EMULTIHOP)*/
#if defined(EMSGSIZE)
  ScmString d1128[1];
#endif /*defined(EMSGSIZE)*/
#if defined(EMLINK)
  ScmString d1126[1];
#endif /*defined(EMLINK)*/
#if defined(EMFILE)
  ScmString d1124[1];
#endif /*defined(EMFILE)*/
#if defined(EMEDIUMTYPE)
  ScmString d1122[1];
#endif /*defined(EMEDIUMTYPE)*/
#if defined(ELOOP)
  ScmString d1120[1];
#endif /*defined(ELOOP)*/
#if defined(ELNRNG)
  ScmString d1118[1];
#endif /*defined(ELNRNG)*/
#if defined(ELIBSCN)
  ScmString d1116[1];
#endif /*defined(ELIBSCN)*/
#if defined(ELIBMAX)
  ScmString d1114[1];
#endif /*defined(ELIBMAX)*/
#if defined(ELIBEXEC)
  ScmString d1112[1];
#endif /*defined(ELIBEXEC)*/
#if defined(ELIBBAD)
  ScmString d1110[1];
#endif /*defined(ELIBBAD)*/
#if defined(ELIBACC)
  ScmString d1108[1];
#endif /*defined(ELIBACC)*/
#if defined(EL3RST)
  ScmString d1106[1];
#endif /*defined(EL3RST)*/
#if defined(EL3HLT)
  ScmString d1104[1];
#endif /*defined(EL3HLT)*/
#if defined(EL2NSYNC)
  ScmString d1102[1];
#endif /*defined(EL2NSYNC)*/
#if defined(EL2HLT)
  ScmString d1100[1];
#endif /*defined(EL2HLT)*/
#if defined(EKEYREVOKED)
  ScmString d1098[1];
#endif /*defined(EKEYREVOKED)*/
#if defined(EKEYREJECTED)
  ScmString d1096[1];
#endif /*defined(EKEYREJECTED)*/
#if defined(EKEYEXPIRED)
  ScmString d1094[1];
#endif /*defined(EKEYEXPIRED)*/
#if defined(EISNAM)
  ScmString d1092[1];
#endif /*defined(EISNAM)*/
#if defined(EISDIR)
  ScmString d1090[1];
#endif /*defined(EISDIR)*/
#if defined(EISCONN)
  ScmString d1088[1];
#endif /*defined(EISCONN)*/
#if defined(EIO)
  ScmString d1086[1];
#endif /*defined(EIO)*/
#if defined(EINVAL)
  ScmString d1084[1];
#endif /*defined(EINVAL)*/
#if defined(EINTR)
  ScmString d1082[1];
#endif /*defined(EINTR)*/
#if defined(EINPROGRESS)
  ScmString d1080[1];
#endif /*defined(EINPROGRESS)*/
#if defined(EILSEQ)
  ScmString d1078[1];
#endif /*defined(EILSEQ)*/
#if defined(EIDRM)
  ScmString d1076[1];
#endif /*defined(EIDRM)*/
#if defined(EHOSTUNREACH)
  ScmString d1074[1];
#endif /*defined(EHOSTUNREACH)*/
#if defined(EHOSTDOWN)
  ScmString d1072[1];
#endif /*defined(EHOSTDOWN)*/
#if defined(EFBIG)
  ScmString d1070[1];
#endif /*defined(EFBIG)*/
#if defined(EFAULT)
  ScmString d1068[1];
#endif /*defined(EFAULT)*/
#if defined(EEXIST)
  ScmString d1066[1];
#endif /*defined(EEXIST)*/
#if defined(EDQUOT)
  ScmString d1064[1];
#endif /*defined(EDQUOT)*/
#if defined(EDOTDOT)
  ScmString d1062[1];
#endif /*defined(EDOTDOT)*/
#if defined(EDOM)
  ScmString d1060[1];
#endif /*defined(EDOM)*/
#if defined(EDESTADDRREQ)
  ScmString d1058[1];
#endif /*defined(EDESTADDRREQ)*/
#if defined(EDEADLOCK)
  ScmString d1056[1];
#endif /*defined(EDEADLOCK)*/
#if defined(EDEADLK)
  ScmString d1054[1];
#endif /*defined(EDEADLK)*/
#if defined(ECONNRESET)
  ScmString d1052[1];
#endif /*defined(ECONNRESET)*/
#if defined(ECONNREFUSED)
  ScmString d1050[1];
#endif /*defined(ECONNREFUSED)*/
#if defined(ECONNABORTED)
  ScmString d1048[1];
#endif /*defined(ECONNABORTED)*/
#if defined(ECOMM)
  ScmString d1046[1];
#endif /*defined(ECOMM)*/
#if defined(ECHRNG)
  ScmString d1044[1];
#endif /*defined(ECHRNG)*/
#if defined(ECHILD)
  ScmString d1042[1];
#endif /*defined(ECHILD)*/
#if defined(ECANCELED)
  ScmString d1040[1];
#endif /*defined(ECANCELED)*/
#if defined(EBUSY)
  ScmString d1038[1];
#endif /*defined(EBUSY)*/
#if defined(EBFONT)
  ScmString d1036[1];
#endif /*defined(EBFONT)*/
#if defined(EBADSLT)
  ScmString d1034[1];
#endif /*defined(EBADSLT)*/
#if defined(EBADRQC)
  ScmString d1032[1];
#endif /*defined(EBADRQC)*/
#if defined(EBADR)
  ScmString d1030[1];
#endif /*defined(EBADR)*/
#if defined(EBADMSG)
  ScmString d1028[1];
#endif /*defined(EBADMSG)*/
#if defined(EBADFD)
  ScmString d1026[1];
#endif /*defined(EBADFD)*/
#if defined(EBADF)
  ScmString d1024[1];
#endif /*defined(EBADF)*/
#if defined(EBADE)
  ScmString d1022[1];
#endif /*defined(EBADE)*/
#if defined(EALREADY)
  ScmString d1020[1];
#endif /*defined(EALREADY)*/
#if defined(EAGAIN)
  ScmString d1018[1];
#endif /*defined(EAGAIN)*/
#if defined(EAFNOSUPPORT)
  ScmString d1016[1];
#endif /*defined(EAFNOSUPPORT)*/
#if defined(EADV)
  ScmString d1014[1];
#endif /*defined(EADV)*/
#if defined(EADDRNOTAVAIL)
  ScmString d1012[1];
#endif /*defined(EADDRNOTAVAIL)*/
#if defined(EADDRINUSE)
  ScmString d1010[1];
#endif /*defined(EADDRINUSE)*/
#if defined(EACCES)
  ScmString d1008[1];
#endif /*defined(EACCES)*/
#if defined(E2BIG)
  ScmString d1006[1];
#endif /*defined(E2BIG)*/
  ScmString d1003[117];
} scm__sc = {
#if defined(HAVE_SELECT)
  {   /* ScmString d1309 */
      SCM_STRING_CONST_INITIALIZER("sys-fdset-ref", 13, 13),
      SCM_STRING_CONST_INITIALIZER("sys-fdset-set!", 14, 14),
      SCM_STRING_CONST_INITIALIZER("sys-fdset-max-fd", 16, 16),
      SCM_STRING_CONST_INITIALIZER("sys-fdset-clear!", 16, 16),
      SCM_STRING_CONST_INITIALIZER("sys-fdset-copy!", 15, 15),
      SCM_STRING_CONST_INITIALIZER("sys-select", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-select!", 11, 11),
  },
#endif /*defined(HAVE_SELECT)*/
#if defined(HAVE_READLINK)
  {   /* ScmString d1308 */
      SCM_STRING_CONST_INITIALIZER("sys-readlink", 12, 12),
  },
#endif /*defined(HAVE_READLINK)*/
#if defined(HAVE_SYMLINK)
  {   /* ScmString d1307 */
      SCM_STRING_CONST_INITIALIZER("sys-symlink", 11, 11),
  },
#endif /*defined(HAVE_SYMLINK)*/
#if defined(HAVE_CRYPT)
  {   /* ScmString d1306 */
      SCM_STRING_CONST_INITIALIZER("sys-crypt", 9, 9),
  },
#endif /*defined(HAVE_CRYPT)*/
#if defined(HAVE_NANOSLEEP) || defined(GAUCHE_WINDOWS)
  {   /* ScmString d1305 */
      SCM_STRING_CONST_INITIALIZER("sys-nanosleep", 13, 13),
  },
#endif /*defined(HAVE_NANOSLEEP) || defined(GAUCHE_WINDOWS)*/
#if defined HAVE_LCHOWN
  {   /* ScmString d1304 */
      SCM_STRING_CONST_INITIALIZER("sys-lchown", 10, 10),
  },
#endif /*defined HAVE_LCHOWN*/
#if defined(GAUCHE_WINDOWS)
  {   /* ScmString d1303 */
      SCM_STRING_CONST_INITIALIZER("sys-lstat", 9, 9),
      SCM_STRING_CONST_INITIALIZER("handle-type", 11, 11),
      SCM_STRING_CONST_INITIALIZER("process", 7, 7),
      SCM_STRING_CONST_INITIALIZER("sys-win-process?", 16, 16),
      SCM_STRING_CONST_INITIALIZER("sys-win-process-pid", 19, 19),
      SCM_STRING_CONST_INITIALIZER("sys-get-osfhandle", 17, 17),
  },
#endif /*defined(GAUCHE_WINDOWS)*/
#if !defined(GAUCHE_WINDOWS)
  {   /* ScmString d1302 */
      SCM_STRING_CONST_INITIALIZER("sys-lstat", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-fchmod", 10, 10),
  },
#endif /*!defined(GAUCHE_WINDOWS)*/
#if defined(RLIMIT_OFILE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1299 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_OFILE", 12, 12),
  },
#endif /*defined(RLIMIT_OFILE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_STACK)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1297 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_STACK", 12, 12),
  },
#endif /*defined(RLIMIT_STACK)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_SBSIZE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1295 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_SBSIZE", 13, 13),
  },
#endif /*defined(RLIMIT_SBSIZE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_SIGPENDING)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1293 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_SIGPENDING", 17, 17),
  },
#endif /*defined(RLIMIT_SIGPENDING)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_RTPRIO)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1291 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_RTPRIO", 13, 13),
  },
#endif /*defined(RLIMIT_RTPRIO)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_RSS)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1289 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_RSS", 10, 10),
  },
#endif /*defined(RLIMIT_RSS)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_NPROC)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1287 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_NPROC", 12, 12),
  },
#endif /*defined(RLIMIT_NPROC)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_NOFILE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1285 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_NOFILE", 13, 13),
  },
#endif /*defined(RLIMIT_NOFILE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_NICE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1283 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_NICE", 11, 11),
  },
#endif /*defined(RLIMIT_NICE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_MSGQUEUE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1281 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_MSGQUEUE", 15, 15),
  },
#endif /*defined(RLIMIT_MSGQUEUE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_MEMLOCK)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1279 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_MEMLOCK", 14, 14),
  },
#endif /*defined(RLIMIT_MEMLOCK)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_LOCKS)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1277 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_LOCKS", 12, 12),
  },
#endif /*defined(RLIMIT_LOCKS)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_FSIZE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1275 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_FSIZE", 12, 12),
  },
#endif /*defined(RLIMIT_FSIZE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_DATA)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1273 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_DATA", 11, 11),
  },
#endif /*defined(RLIMIT_DATA)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_CPU)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1271 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_CPU", 10, 10),
  },
#endif /*defined(RLIMIT_CPU)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_CORE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1269 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_CORE", 11, 11),
  },
#endif /*defined(RLIMIT_CORE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_AS)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1267 */
      SCM_STRING_CONST_INITIALIZER("RLIMIT_AS", 9, 9),
  },
#endif /*defined(RLIMIT_AS)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmString d1264 */
      SCM_STRING_CONST_INITIALIZER("sys-getrlimit", 13, 13),
      SCM_STRING_CONST_INITIALIZER("sys-setrlimit", 13, 13),
      SCM_STRING_CONST_INITIALIZER("RLIM_INFINITY", 13, 13),
  },
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined HAVE_SIGWAIT
  {   /* ScmString d1263 */
      SCM_STRING_CONST_INITIALIZER("sys-sigwait", 11, 11),
  },
#endif /*defined HAVE_SIGWAIT*/
#if defined(EXFULL)
  {   /* ScmString d1262 */
      SCM_STRING_CONST_INITIALIZER("EXFULL", 6, 6),
  },
#endif /*defined(EXFULL)*/
#if defined(EXDEV)
  {   /* ScmString d1260 */
      SCM_STRING_CONST_INITIALIZER("EXDEV", 5, 5),
  },
#endif /*defined(EXDEV)*/
#if defined(EWOULDBLOCK)
  {   /* ScmString d1258 */
      SCM_STRING_CONST_INITIALIZER("EWOULDBLOCK", 11, 11),
  },
#endif /*defined(EWOULDBLOCK)*/
#if defined(EUSERS)
  {   /* ScmString d1256 */
      SCM_STRING_CONST_INITIALIZER("EUSERS", 6, 6),
  },
#endif /*defined(EUSERS)*/
#if defined(EUNATCH)
  {   /* ScmString d1254 */
      SCM_STRING_CONST_INITIALIZER("EUNATCH", 7, 7),
  },
#endif /*defined(EUNATCH)*/
#if defined(EUCLEAN)
  {   /* ScmString d1252 */
      SCM_STRING_CONST_INITIALIZER("EUCLEAN", 7, 7),
  },
#endif /*defined(EUCLEAN)*/
#if defined(ETXTBSY)
  {   /* ScmString d1250 */
      SCM_STRING_CONST_INITIALIZER("ETXTBSY", 7, 7),
  },
#endif /*defined(ETXTBSY)*/
#if defined(ETOOMANYREFS)
  {   /* ScmString d1248 */
      SCM_STRING_CONST_INITIALIZER("ETOOMANYREFS", 12, 12),
  },
#endif /*defined(ETOOMANYREFS)*/
#if defined(ETIMEDOUT)
  {   /* ScmString d1246 */
      SCM_STRING_CONST_INITIALIZER("ETIMEDOUT", 9, 9),
  },
#endif /*defined(ETIMEDOUT)*/
#if defined(ETIME)
  {   /* ScmString d1244 */
      SCM_STRING_CONST_INITIALIZER("ETIME", 5, 5),
  },
#endif /*defined(ETIME)*/
#if defined(ESTRPIPE)
  {   /* ScmString d1242 */
      SCM_STRING_CONST_INITIALIZER("ESTRPIPE", 8, 8),
  },
#endif /*defined(ESTRPIPE)*/
#if defined(ESTALE)
  {   /* ScmString d1240 */
      SCM_STRING_CONST_INITIALIZER("ESTALE", 6, 6),
  },
#endif /*defined(ESTALE)*/
#if defined(ESRMNT)
  {   /* ScmString d1238 */
      SCM_STRING_CONST_INITIALIZER("ESRMNT", 6, 6),
  },
#endif /*defined(ESRMNT)*/
#if defined(ESRCH)
  {   /* ScmString d1236 */
      SCM_STRING_CONST_INITIALIZER("ESRCH", 5, 5),
  },
#endif /*defined(ESRCH)*/
#if defined(ESPIPE)
  {   /* ScmString d1234 */
      SCM_STRING_CONST_INITIALIZER("ESPIPE", 6, 6),
  },
#endif /*defined(ESPIPE)*/
#if defined(ESOCKTNOSUPPORT)
  {   /* ScmString d1232 */
      SCM_STRING_CONST_INITIALIZER("ESOCKTNOSUPPORT", 15, 15),
  },
#endif /*defined(ESOCKTNOSUPPORT)*/
#if defined(ESHUTDOWN)
  {   /* ScmString d1230 */
      SCM_STRING_CONST_INITIALIZER("ESHUTDOWN", 9, 9),
  },
#endif /*defined(ESHUTDOWN)*/
#if defined(EROFS)
  {   /* ScmString d1228 */
      SCM_STRING_CONST_INITIALIZER("EROFS", 5, 5),
  },
#endif /*defined(EROFS)*/
#if defined(ERESTART)
  {   /* ScmString d1226 */
      SCM_STRING_CONST_INITIALIZER("ERESTART", 8, 8),
  },
#endif /*defined(ERESTART)*/
#if defined(EREMOTEIO)
  {   /* ScmString d1224 */
      SCM_STRING_CONST_INITIALIZER("EREMOTEIO", 9, 9),
  },
#endif /*defined(EREMOTEIO)*/
#if defined(EREMOTE)
  {   /* ScmString d1222 */
      SCM_STRING_CONST_INITIALIZER("EREMOTE", 7, 7),
  },
#endif /*defined(EREMOTE)*/
#if defined(EREMCHG)
  {   /* ScmString d1220 */
      SCM_STRING_CONST_INITIALIZER("EREMCHG", 7, 7),
  },
#endif /*defined(EREMCHG)*/
#if defined(ERANGE)
  {   /* ScmString d1218 */
      SCM_STRING_CONST_INITIALIZER("ERANGE", 6, 6),
  },
#endif /*defined(ERANGE)*/
#if defined(EPROTOTYPE)
  {   /* ScmString d1216 */
      SCM_STRING_CONST_INITIALIZER("EPROTOTYPE", 10, 10),
  },
#endif /*defined(EPROTOTYPE)*/
#if defined(EPROTONOSUPPORT)
  {   /* ScmString d1214 */
      SCM_STRING_CONST_INITIALIZER("EPROTONOSUPPORT", 15, 15),
  },
#endif /*defined(EPROTONOSUPPORT)*/
#if defined(EPROTO)
  {   /* ScmString d1212 */
      SCM_STRING_CONST_INITIALIZER("EPROTO", 6, 6),
  },
#endif /*defined(EPROTO)*/
#if defined(EPIPE)
  {   /* ScmString d1210 */
      SCM_STRING_CONST_INITIALIZER("EPIPE", 5, 5),
  },
#endif /*defined(EPIPE)*/
#if defined(EPFNOSUPPORT)
  {   /* ScmString d1208 */
      SCM_STRING_CONST_INITIALIZER("EPFNOSUPPORT", 12, 12),
  },
#endif /*defined(EPFNOSUPPORT)*/
#if defined(EPERM)
  {   /* ScmString d1206 */
      SCM_STRING_CONST_INITIALIZER("EPERM", 5, 5),
  },
#endif /*defined(EPERM)*/
#if defined(EOVERFLOW)
  {   /* ScmString d1204 */
      SCM_STRING_CONST_INITIALIZER("EOVERFLOW", 9, 9),
  },
#endif /*defined(EOVERFLOW)*/
#if defined(EOPNOTSUPP)
  {   /* ScmString d1202 */
      SCM_STRING_CONST_INITIALIZER("EOPNOTSUPP", 10, 10),
  },
#endif /*defined(EOPNOTSUPP)*/
#if defined(ENXIO)
  {   /* ScmString d1200 */
      SCM_STRING_CONST_INITIALIZER("ENXIO", 5, 5),
  },
#endif /*defined(ENXIO)*/
#if defined(ENOTUNIQ)
  {   /* ScmString d1198 */
      SCM_STRING_CONST_INITIALIZER("ENOTUNIQ", 8, 8),
  },
#endif /*defined(ENOTUNIQ)*/
#if defined(ENOTTY)
  {   /* ScmString d1196 */
      SCM_STRING_CONST_INITIALIZER("ENOTTY", 6, 6),
  },
#endif /*defined(ENOTTY)*/
#if defined(ENOTSOCK)
  {   /* ScmString d1194 */
      SCM_STRING_CONST_INITIALIZER("ENOTSOCK", 8, 8),
  },
#endif /*defined(ENOTSOCK)*/
#if defined(ENOTNAM)
  {   /* ScmString d1192 */
      SCM_STRING_CONST_INITIALIZER("ENOTNAM", 7, 7),
  },
#endif /*defined(ENOTNAM)*/
#if defined(ENOTEMPTY)
  {   /* ScmString d1190 */
      SCM_STRING_CONST_INITIALIZER("ENOTEMPTY", 9, 9),
  },
#endif /*defined(ENOTEMPTY)*/
#if defined(ENOTDIR)
  {   /* ScmString d1188 */
      SCM_STRING_CONST_INITIALIZER("ENOTDIR", 7, 7),
  },
#endif /*defined(ENOTDIR)*/
#if defined(ENOTCONN)
  {   /* ScmString d1186 */
      SCM_STRING_CONST_INITIALIZER("ENOTCONN", 8, 8),
  },
#endif /*defined(ENOTCONN)*/
#if defined(ENOTBLK)
  {   /* ScmString d1184 */
      SCM_STRING_CONST_INITIALIZER("ENOTBLK", 7, 7),
  },
#endif /*defined(ENOTBLK)*/
#if defined(ENOSYS)
  {   /* ScmString d1182 */
      SCM_STRING_CONST_INITIALIZER("ENOSYS", 6, 6),
  },
#endif /*defined(ENOSYS)*/
#if defined(ENOSTR)
  {   /* ScmString d1180 */
      SCM_STRING_CONST_INITIALIZER("ENOSTR", 6, 6),
  },
#endif /*defined(ENOSTR)*/
#if defined(ENOSR)
  {   /* ScmString d1178 */
      SCM_STRING_CONST_INITIALIZER("ENOSR", 5, 5),
  },
#endif /*defined(ENOSR)*/
#if defined(ENOSPC)
  {   /* ScmString d1176 */
      SCM_STRING_CONST_INITIALIZER("ENOSPC", 6, 6),
  },
#endif /*defined(ENOSPC)*/
#if defined(ENOPROTOOPT)
  {   /* ScmString d1174 */
      SCM_STRING_CONST_INITIALIZER("ENOPROTOOPT", 11, 11),
  },
#endif /*defined(ENOPROTOOPT)*/
#if defined(ENOPKG)
  {   /* ScmString d1172 */
      SCM_STRING_CONST_INITIALIZER("ENOPKG", 6, 6),
  },
#endif /*defined(ENOPKG)*/
#if defined(ENONET)
  {   /* ScmString d1170 */
      SCM_STRING_CONST_INITIALIZER("ENONET", 6, 6),
  },
#endif /*defined(ENONET)*/
#if defined(ENOMSG)
  {   /* ScmString d1168 */
      SCM_STRING_CONST_INITIALIZER("ENOMSG", 6, 6),
  },
#endif /*defined(ENOMSG)*/
#if defined(ENOMEM)
  {   /* ScmString d1166 */
      SCM_STRING_CONST_INITIALIZER("ENOMEM", 6, 6),
  },
#endif /*defined(ENOMEM)*/
#if defined(ENOMEDIUM)
  {   /* ScmString d1164 */
      SCM_STRING_CONST_INITIALIZER("ENOMEDIUM", 9, 9),
  },
#endif /*defined(ENOMEDIUM)*/
#if defined(ENOLINK)
  {   /* ScmString d1162 */
      SCM_STRING_CONST_INITIALIZER("ENOLINK", 7, 7),
  },
#endif /*defined(ENOLINK)*/
#if defined(ENOLCK)
  {   /* ScmString d1160 */
      SCM_STRING_CONST_INITIALIZER("ENOLCK", 6, 6),
  },
#endif /*defined(ENOLCK)*/
#if defined(ENOKEY)
  {   /* ScmString d1158 */
      SCM_STRING_CONST_INITIALIZER("ENOKEY", 6, 6),
  },
#endif /*defined(ENOKEY)*/
#if defined(ENOEXEC)
  {   /* ScmString d1156 */
      SCM_STRING_CONST_INITIALIZER("ENOEXEC", 7, 7),
  },
#endif /*defined(ENOEXEC)*/
#if defined(ENOENT)
  {   /* ScmString d1154 */
      SCM_STRING_CONST_INITIALIZER("ENOENT", 6, 6),
  },
#endif /*defined(ENOENT)*/
#if defined(ENODEV)
  {   /* ScmString d1152 */
      SCM_STRING_CONST_INITIALIZER("ENODEV", 6, 6),
  },
#endif /*defined(ENODEV)*/
#if defined(ENODATA)
  {   /* ScmString d1150 */
      SCM_STRING_CONST_INITIALIZER("ENODATA", 7, 7),
  },
#endif /*defined(ENODATA)*/
#if defined(ENOCSI)
  {   /* ScmString d1148 */
      SCM_STRING_CONST_INITIALIZER("ENOCSI", 6, 6),
  },
#endif /*defined(ENOCSI)*/
#if defined(ENOBUFS)
  {   /* ScmString d1146 */
      SCM_STRING_CONST_INITIALIZER("ENOBUFS", 7, 7),
  },
#endif /*defined(ENOBUFS)*/
#if defined(ENOANO)
  {   /* ScmString d1144 */
      SCM_STRING_CONST_INITIALIZER("ENOANO", 6, 6),
  },
#endif /*defined(ENOANO)*/
#if defined(ENFILE)
  {   /* ScmString d1142 */
      SCM_STRING_CONST_INITIALIZER("ENFILE", 6, 6),
  },
#endif /*defined(ENFILE)*/
#if defined(ENETUNREACH)
  {   /* ScmString d1140 */
      SCM_STRING_CONST_INITIALIZER("ENETUNREACH", 11, 11),
  },
#endif /*defined(ENETUNREACH)*/
#if defined(ENETRESET)
  {   /* ScmString d1138 */
      SCM_STRING_CONST_INITIALIZER("ENETRESET", 9, 9),
  },
#endif /*defined(ENETRESET)*/
#if defined(ENETDOWN)
  {   /* ScmString d1136 */
      SCM_STRING_CONST_INITIALIZER("ENETDOWN", 8, 8),
  },
#endif /*defined(ENETDOWN)*/
#if defined(ENAVAIL)
  {   /* ScmString d1134 */
      SCM_STRING_CONST_INITIALIZER("ENAVAIL", 7, 7),
  },
#endif /*defined(ENAVAIL)*/
#if defined(ENAMETOOLONG)
  {   /* ScmString d1132 */
      SCM_STRING_CONST_INITIALIZER("ENAMETOOLONG", 12, 12),
  },
#endif /*defined(ENAMETOOLONG)*/
#if defined(EMULTIHOP)
  {   /* ScmString d1130 */
      SCM_STRING_CONST_INITIALIZER("EMULTIHOP", 9, 9),
  },
#endif /*defined(EMULTIHOP)*/
#if defined(EMSGSIZE)
  {   /* ScmString d1128 */
      SCM_STRING_CONST_INITIALIZER("EMSGSIZE", 8, 8),
  },
#endif /*defined(EMSGSIZE)*/
#if defined(EMLINK)
  {   /* ScmString d1126 */
      SCM_STRING_CONST_INITIALIZER("EMLINK", 6, 6),
  },
#endif /*defined(EMLINK)*/
#if defined(EMFILE)
  {   /* ScmString d1124 */
      SCM_STRING_CONST_INITIALIZER("EMFILE", 6, 6),
  },
#endif /*defined(EMFILE)*/
#if defined(EMEDIUMTYPE)
  {   /* ScmString d1122 */
      SCM_STRING_CONST_INITIALIZER("EMEDIUMTYPE", 11, 11),
  },
#endif /*defined(EMEDIUMTYPE)*/
#if defined(ELOOP)
  {   /* ScmString d1120 */
      SCM_STRING_CONST_INITIALIZER("ELOOP", 5, 5),
  },
#endif /*defined(ELOOP)*/
#if defined(ELNRNG)
  {   /* ScmString d1118 */
      SCM_STRING_CONST_INITIALIZER("ELNRNG", 6, 6),
  },
#endif /*defined(ELNRNG)*/
#if defined(ELIBSCN)
  {   /* ScmString d1116 */
      SCM_STRING_CONST_INITIALIZER("ELIBSCN", 7, 7),
  },
#endif /*defined(ELIBSCN)*/
#if defined(ELIBMAX)
  {   /* ScmString d1114 */
      SCM_STRING_CONST_INITIALIZER("ELIBMAX", 7, 7),
  },
#endif /*defined(ELIBMAX)*/
#if defined(ELIBEXEC)
  {   /* ScmString d1112 */
      SCM_STRING_CONST_INITIALIZER("ELIBEXEC", 8, 8),
  },
#endif /*defined(ELIBEXEC)*/
#if defined(ELIBBAD)
  {   /* ScmString d1110 */
      SCM_STRING_CONST_INITIALIZER("ELIBBAD", 7, 7),
  },
#endif /*defined(ELIBBAD)*/
#if defined(ELIBACC)
  {   /* ScmString d1108 */
      SCM_STRING_CONST_INITIALIZER("ELIBACC", 7, 7),
  },
#endif /*defined(ELIBACC)*/
#if defined(EL3RST)
  {   /* ScmString d1106 */
      SCM_STRING_CONST_INITIALIZER("EL3RST", 6, 6),
  },
#endif /*defined(EL3RST)*/
#if defined(EL3HLT)
  {   /* ScmString d1104 */
      SCM_STRING_CONST_INITIALIZER("EL3HLT", 6, 6),
  },
#endif /*defined(EL3HLT)*/
#if defined(EL2NSYNC)
  {   /* ScmString d1102 */
      SCM_STRING_CONST_INITIALIZER("EL2NSYNC", 8, 8),
  },
#endif /*defined(EL2NSYNC)*/
#if defined(EL2HLT)
  {   /* ScmString d1100 */
      SCM_STRING_CONST_INITIALIZER("EL2HLT", 6, 6),
  },
#endif /*defined(EL2HLT)*/
#if defined(EKEYREVOKED)
  {   /* ScmString d1098 */
      SCM_STRING_CONST_INITIALIZER("EKEYREVOKED", 11, 11),
  },
#endif /*defined(EKEYREVOKED)*/
#if defined(EKEYREJECTED)
  {   /* ScmString d1096 */
      SCM_STRING_CONST_INITIALIZER("EKEYREJECTED", 12, 12),
  },
#endif /*defined(EKEYREJECTED)*/
#if defined(EKEYEXPIRED)
  {   /* ScmString d1094 */
      SCM_STRING_CONST_INITIALIZER("EKEYEXPIRED", 11, 11),
  },
#endif /*defined(EKEYEXPIRED)*/
#if defined(EISNAM)
  {   /* ScmString d1092 */
      SCM_STRING_CONST_INITIALIZER("EISNAM", 6, 6),
  },
#endif /*defined(EISNAM)*/
#if defined(EISDIR)
  {   /* ScmString d1090 */
      SCM_STRING_CONST_INITIALIZER("EISDIR", 6, 6),
  },
#endif /*defined(EISDIR)*/
#if defined(EISCONN)
  {   /* ScmString d1088 */
      SCM_STRING_CONST_INITIALIZER("EISCONN", 7, 7),
  },
#endif /*defined(EISCONN)*/
#if defined(EIO)
  {   /* ScmString d1086 */
      SCM_STRING_CONST_INITIALIZER("EIO", 3, 3),
  },
#endif /*defined(EIO)*/
#if defined(EINVAL)
  {   /* ScmString d1084 */
      SCM_STRING_CONST_INITIALIZER("EINVAL", 6, 6),
  },
#endif /*defined(EINVAL)*/
#if defined(EINTR)
  {   /* ScmString d1082 */
      SCM_STRING_CONST_INITIALIZER("EINTR", 5, 5),
  },
#endif /*defined(EINTR)*/
#if defined(EINPROGRESS)
  {   /* ScmString d1080 */
      SCM_STRING_CONST_INITIALIZER("EINPROGRESS", 11, 11),
  },
#endif /*defined(EINPROGRESS)*/
#if defined(EILSEQ)
  {   /* ScmString d1078 */
      SCM_STRING_CONST_INITIALIZER("EILSEQ", 6, 6),
  },
#endif /*defined(EILSEQ)*/
#if defined(EIDRM)
  {   /* ScmString d1076 */
      SCM_STRING_CONST_INITIALIZER("EIDRM", 5, 5),
  },
#endif /*defined(EIDRM)*/
#if defined(EHOSTUNREACH)
  {   /* ScmString d1074 */
      SCM_STRING_CONST_INITIALIZER("EHOSTUNREACH", 12, 12),
  },
#endif /*defined(EHOSTUNREACH)*/
#if defined(EHOSTDOWN)
  {   /* ScmString d1072 */
      SCM_STRING_CONST_INITIALIZER("EHOSTDOWN", 9, 9),
  },
#endif /*defined(EHOSTDOWN)*/
#if defined(EFBIG)
  {   /* ScmString d1070 */
      SCM_STRING_CONST_INITIALIZER("EFBIG", 5, 5),
  },
#endif /*defined(EFBIG)*/
#if defined(EFAULT)
  {   /* ScmString d1068 */
      SCM_STRING_CONST_INITIALIZER("EFAULT", 6, 6),
  },
#endif /*defined(EFAULT)*/
#if defined(EEXIST)
  {   /* ScmString d1066 */
      SCM_STRING_CONST_INITIALIZER("EEXIST", 6, 6),
  },
#endif /*defined(EEXIST)*/
#if defined(EDQUOT)
  {   /* ScmString d1064 */
      SCM_STRING_CONST_INITIALIZER("EDQUOT", 6, 6),
  },
#endif /*defined(EDQUOT)*/
#if defined(EDOTDOT)
  {   /* ScmString d1062 */
      SCM_STRING_CONST_INITIALIZER("EDOTDOT", 7, 7),
  },
#endif /*defined(EDOTDOT)*/
#if defined(EDOM)
  {   /* ScmString d1060 */
      SCM_STRING_CONST_INITIALIZER("EDOM", 4, 4),
  },
#endif /*defined(EDOM)*/
#if defined(EDESTADDRREQ)
  {   /* ScmString d1058 */
      SCM_STRING_CONST_INITIALIZER("EDESTADDRREQ", 12, 12),
  },
#endif /*defined(EDESTADDRREQ)*/
#if defined(EDEADLOCK)
  {   /* ScmString d1056 */
      SCM_STRING_CONST_INITIALIZER("EDEADLOCK", 9, 9),
  },
#endif /*defined(EDEADLOCK)*/
#if defined(EDEADLK)
  {   /* ScmString d1054 */
      SCM_STRING_CONST_INITIALIZER("EDEADLK", 7, 7),
  },
#endif /*defined(EDEADLK)*/
#if defined(ECONNRESET)
  {   /* ScmString d1052 */
      SCM_STRING_CONST_INITIALIZER("ECONNRESET", 10, 10),
  },
#endif /*defined(ECONNRESET)*/
#if defined(ECONNREFUSED)
  {   /* ScmString d1050 */
      SCM_STRING_CONST_INITIALIZER("ECONNREFUSED", 12, 12),
  },
#endif /*defined(ECONNREFUSED)*/
#if defined(ECONNABORTED)
  {   /* ScmString d1048 */
      SCM_STRING_CONST_INITIALIZER("ECONNABORTED", 12, 12),
  },
#endif /*defined(ECONNABORTED)*/
#if defined(ECOMM)
  {   /* ScmString d1046 */
      SCM_STRING_CONST_INITIALIZER("ECOMM", 5, 5),
  },
#endif /*defined(ECOMM)*/
#if defined(ECHRNG)
  {   /* ScmString d1044 */
      SCM_STRING_CONST_INITIALIZER("ECHRNG", 6, 6),
  },
#endif /*defined(ECHRNG)*/
#if defined(ECHILD)
  {   /* ScmString d1042 */
      SCM_STRING_CONST_INITIALIZER("ECHILD", 6, 6),
  },
#endif /*defined(ECHILD)*/
#if defined(ECANCELED)
  {   /* ScmString d1040 */
      SCM_STRING_CONST_INITIALIZER("ECANCELED", 9, 9),
  },
#endif /*defined(ECANCELED)*/
#if defined(EBUSY)
  {   /* ScmString d1038 */
      SCM_STRING_CONST_INITIALIZER("EBUSY", 5, 5),
  },
#endif /*defined(EBUSY)*/
#if defined(EBFONT)
  {   /* ScmString d1036 */
      SCM_STRING_CONST_INITIALIZER("EBFONT", 6, 6),
  },
#endif /*defined(EBFONT)*/
#if defined(EBADSLT)
  {   /* ScmString d1034 */
      SCM_STRING_CONST_INITIALIZER("EBADSLT", 7, 7),
  },
#endif /*defined(EBADSLT)*/
#if defined(EBADRQC)
  {   /* ScmString d1032 */
      SCM_STRING_CONST_INITIALIZER("EBADRQC", 7, 7),
  },
#endif /*defined(EBADRQC)*/
#if defined(EBADR)
  {   /* ScmString d1030 */
      SCM_STRING_CONST_INITIALIZER("EBADR", 5, 5),
  },
#endif /*defined(EBADR)*/
#if defined(EBADMSG)
  {   /* ScmString d1028 */
      SCM_STRING_CONST_INITIALIZER("EBADMSG", 7, 7),
  },
#endif /*defined(EBADMSG)*/
#if defined(EBADFD)
  {   /* ScmString d1026 */
      SCM_STRING_CONST_INITIALIZER("EBADFD", 6, 6),
  },
#endif /*defined(EBADFD)*/
#if defined(EBADF)
  {   /* ScmString d1024 */
      SCM_STRING_CONST_INITIALIZER("EBADF", 5, 5),
  },
#endif /*defined(EBADF)*/
#if defined(EBADE)
  {   /* ScmString d1022 */
      SCM_STRING_CONST_INITIALIZER("EBADE", 5, 5),
  },
#endif /*defined(EBADE)*/
#if defined(EALREADY)
  {   /* ScmString d1020 */
      SCM_STRING_CONST_INITIALIZER("EALREADY", 8, 8),
  },
#endif /*defined(EALREADY)*/
#if defined(EAGAIN)
  {   /* ScmString d1018 */
      SCM_STRING_CONST_INITIALIZER("EAGAIN", 6, 6),
  },
#endif /*defined(EAGAIN)*/
#if defined(EAFNOSUPPORT)
  {   /* ScmString d1016 */
      SCM_STRING_CONST_INITIALIZER("EAFNOSUPPORT", 12, 12),
  },
#endif /*defined(EAFNOSUPPORT)*/
#if defined(EADV)
  {   /* ScmString d1014 */
      SCM_STRING_CONST_INITIALIZER("EADV", 4, 4),
  },
#endif /*defined(EADV)*/
#if defined(EADDRNOTAVAIL)
  {   /* ScmString d1012 */
      SCM_STRING_CONST_INITIALIZER("EADDRNOTAVAIL", 13, 13),
  },
#endif /*defined(EADDRNOTAVAIL)*/
#if defined(EADDRINUSE)
  {   /* ScmString d1010 */
      SCM_STRING_CONST_INITIALIZER("EADDRINUSE", 10, 10),
  },
#endif /*defined(EADDRINUSE)*/
#if defined(EACCES)
  {   /* ScmString d1008 */
      SCM_STRING_CONST_INITIALIZER("EACCES", 6, 6),
  },
#endif /*defined(EACCES)*/
#if defined(E2BIG)
  {   /* ScmString d1006 */
      SCM_STRING_CONST_INITIALIZER("E2BIG", 5, 5),
  },
#endif /*defined(E2BIG)*/
  {   /* ScmString d1003 */
      SCM_STRING_CONST_INITIALIZER("sys-readdir", 11, 11),
      SCM_STRING_CONST_INITIALIZER("absolute", 8, 8),
      SCM_STRING_CONST_INITIALIZER("expand", 6, 6),
      SCM_STRING_CONST_INITIALIZER("canonicalize", 12, 12),
      SCM_STRING_CONST_INITIALIZER("sys-normalize-pathname", 22, 22),
      SCM_STRING_CONST_INITIALIZER("sys-tmpdir", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-basename", 12, 12),
      SCM_STRING_CONST_INITIALIZER("sys-dirname", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-getgrgid", 12, 12),
      SCM_STRING_CONST_INITIALIZER("sys-getgrnam", 12, 12),
      SCM_STRING_CONST_INITIALIZER("sys-gid->group-name", 19, 19),
      SCM_STRING_CONST_INITIALIZER("sys-group-name->gid", 19, 19),
      SCM_STRING_CONST_INITIALIZER("LC_ALL", 6, 6),
      SCM_STRING_CONST_INITIALIZER("LC_COLLATE", 10, 10),
      SCM_STRING_CONST_INITIALIZER("LC_CTYPE", 8, 8),
      SCM_STRING_CONST_INITIALIZER("LC_MONETARY", 11, 11),
      SCM_STRING_CONST_INITIALIZER("LC_NUMERIC", 10, 10),
      SCM_STRING_CONST_INITIALIZER("LC_TIME", 7, 7),
      SCM_STRING_CONST_INITIALIZER("sys-setlocale", 13, 13),
      SCM_STRING_CONST_INITIALIZER("sys-getpwuid", 12, 12),
      SCM_STRING_CONST_INITIALIZER("sys-getpwnam", 12, 12),
      SCM_STRING_CONST_INITIALIZER("sys-uid->user-name", 18, 18),
      SCM_STRING_CONST_INITIALIZER("sys-user-name->uid", 18, 18),
      SCM_STRING_CONST_INITIALIZER("sys-sigset-add!", 15, 15),
      SCM_STRING_CONST_INITIALIZER("sys-sigset-delete!", 18, 18),
      SCM_STRING_CONST_INITIALIZER("sys-sigset-fill!", 16, 16),
      SCM_STRING_CONST_INITIALIZER("sys-sigset-empty!", 17, 17),
      SCM_STRING_CONST_INITIALIZER("sys-signal-name", 15, 15),
      SCM_STRING_CONST_INITIALIZER("sys-kill", 8, 8),
      SCM_STRING_CONST_INITIALIZER("set-signal-handler!", 19, 19),
      SCM_STRING_CONST_INITIALIZER("get-signal-handler", 18, 18),
      SCM_STRING_CONST_INITIALIZER("get-signal-handler-mask", 23, 23),
      SCM_STRING_CONST_INITIALIZER("get-signal-handlers", 19, 19),
      SCM_STRING_CONST_INITIALIZER("set-signal-pending-limit", 24, 24),
      SCM_STRING_CONST_INITIALIZER("get-signal-pending-limit", 24, 24),
      SCM_STRING_CONST_INITIALIZER("SIG_SETMASK", 11, 11),
      SCM_STRING_CONST_INITIALIZER("SIG_BLOCK", 9, 9),
      SCM_STRING_CONST_INITIALIZER("SIG_UNBLOCK", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-sigmask", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-sigsuspend", 14, 14),
      SCM_STRING_CONST_INITIALIZER("sys-remove", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-rename", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-tmpnam", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-mkstemp", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-exit", 8, 8),
      SCM_STRING_CONST_INITIALIZER("sys-getenv", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-system", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-random", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-srandom", 11, 11),
      SCM_STRING_CONST_INITIALIZER("RAND_MAX", 8, 8),
      SCM_STRING_CONST_INITIALIZER("sys-strerror", 12, 12),
      SCM_STRING_CONST_INITIALIZER("sys-stat", 8, 8),
      SCM_STRING_CONST_INITIALIZER("sys-fstat", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-wait", 8, 8),
      SCM_STRING_CONST_INITIALIZER("nohang", 6, 6),
      SCM_STRING_CONST_INITIALIZER("untraced", 8, 8),
      SCM_STRING_CONST_INITIALIZER("sys-waitpid", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-wait-exited?", 16, 16),
      SCM_STRING_CONST_INITIALIZER("sys-wait-exit-status", 20, 20),
      SCM_STRING_CONST_INITIALIZER("sys-wait-signaled?", 18, 18),
      SCM_STRING_CONST_INITIALIZER("sys-wait-termsig", 16, 16),
      SCM_STRING_CONST_INITIALIZER("sys-wait-stopped?", 17, 17),
      SCM_STRING_CONST_INITIALIZER("sys-wait-stopsig", 16, 16),
      SCM_STRING_CONST_INITIALIZER("sys-time", 8, 8),
      SCM_STRING_CONST_INITIALIZER("sys-gettimeofday", 16, 16),
      SCM_STRING_CONST_INITIALIZER("current-microseconds", 20, 20),
      SCM_STRING_CONST_INITIALIZER("current-time", 12, 12),
      SCM_STRING_CONST_INITIALIZER("time?", 5, 5),
      SCM_STRING_CONST_INITIALIZER("time->seconds", 13, 13),
      SCM_STRING_CONST_INITIALIZER("seconds->time", 13, 13),
      SCM_STRING_CONST_INITIALIZER("sys-asctime", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-ctime", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-difftime", 12, 12),
      SCM_STRING_CONST_INITIALIZER("sys-strftime", 12, 12),
      SCM_STRING_CONST_INITIALIZER("sys-gmtime", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-localtime", 13, 13),
      SCM_STRING_CONST_INITIALIZER("sys-mktime", 10, 10),
      SCM_STRING_CONST_INITIALIZER("R_OK", 4, 4),
      SCM_STRING_CONST_INITIALIZER("W_OK", 4, 4),
      SCM_STRING_CONST_INITIALIZER("X_OK", 4, 4),
      SCM_STRING_CONST_INITIALIZER("F_OK", 4, 4),
      SCM_STRING_CONST_INITIALIZER("sys-access", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-chdir", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-chmod", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-chown", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-fork", 8, 8),
      SCM_STRING_CONST_INITIALIZER("iomap", 5, 5),
      SCM_STRING_CONST_INITIALIZER("sigmask", 7, 7),
      SCM_STRING_CONST_INITIALIZER("directory", 9, 9),
      SCM_STRING_CONST_INITIALIZER("detached", 8, 8),
      SCM_STRING_CONST_INITIALIZER("sys-exec", 8, 8),
      SCM_STRING_CONST_INITIALIZER("sys-fork-and-exec", 17, 17),
      SCM_STRING_CONST_INITIALIZER("sys-getcwd", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-getegid", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-getgid", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-geteuid", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-getuid", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-getpid", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-getppid", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-link", 8, 8),
      SCM_STRING_CONST_INITIALIZER("sys-pause", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-alarm", 9, 9),
      SCM_STRING_CONST_INITIALIZER("(pipe)", 6, 6),
      SCM_STRING_CONST_INITIALIZER("name", 4, 4),
      SCM_STRING_CONST_INITIALIZER("buffering", 9, 9),
      SCM_STRING_CONST_INITIALIZER("buffered?", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-pipe", 8, 8),
      SCM_STRING_CONST_INITIALIZER("sys-close", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-mkdir", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-rmdir", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-umask", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-sleep", 9, 9),
      SCM_STRING_CONST_INITIALIZER("sys-unlink", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-isatty", 10, 10),
      SCM_STRING_CONST_INITIALIZER("sys-ttyname", 11, 11),
      SCM_STRING_CONST_INITIALIZER("sys-truncate", 12, 12),
      SCM_STRING_CONST_INITIALIZER("sys-ftruncate", 13, 13),
  },
};
static struct scm__rcRec {
#if defined(GAUCHE_WINDOWS)
  ScmObj d1310[2];
#endif /*defined(GAUCHE_WINDOWS)*/
#if defined(RLIMIT_OFILE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1298[1];
#endif /*defined(RLIMIT_OFILE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_STACK)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1296[1];
#endif /*defined(RLIMIT_STACK)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_SBSIZE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1294[1];
#endif /*defined(RLIMIT_SBSIZE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_SIGPENDING)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1292[1];
#endif /*defined(RLIMIT_SIGPENDING)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_RTPRIO)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1290[1];
#endif /*defined(RLIMIT_RTPRIO)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_RSS)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1288[1];
#endif /*defined(RLIMIT_RSS)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_NPROC)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1286[1];
#endif /*defined(RLIMIT_NPROC)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_NOFILE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1284[1];
#endif /*defined(RLIMIT_NOFILE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_NICE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1282[1];
#endif /*defined(RLIMIT_NICE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_MSGQUEUE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1280[1];
#endif /*defined(RLIMIT_MSGQUEUE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_MEMLOCK)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1278[1];
#endif /*defined(RLIMIT_MEMLOCK)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_LOCKS)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1276[1];
#endif /*defined(RLIMIT_LOCKS)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_FSIZE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1274[1];
#endif /*defined(RLIMIT_FSIZE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_DATA)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1272[1];
#endif /*defined(RLIMIT_DATA)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_CPU)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1270[1];
#endif /*defined(RLIMIT_CPU)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_CORE)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1268[1];
#endif /*defined(RLIMIT_CORE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_AS)
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1266[1];
#endif /*defined(RLIMIT_AS)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(HAVE_SYS_RESOURCE_H)
  ScmObj d1265[1];
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(EXFULL)
  ScmObj d1261[1];
#endif /*defined(EXFULL)*/
#if defined(EXDEV)
  ScmObj d1259[1];
#endif /*defined(EXDEV)*/
#if defined(EWOULDBLOCK)
  ScmObj d1257[1];
#endif /*defined(EWOULDBLOCK)*/
#if defined(EUSERS)
  ScmObj d1255[1];
#endif /*defined(EUSERS)*/
#if defined(EUNATCH)
  ScmObj d1253[1];
#endif /*defined(EUNATCH)*/
#if defined(EUCLEAN)
  ScmObj d1251[1];
#endif /*defined(EUCLEAN)*/
#if defined(ETXTBSY)
  ScmObj d1249[1];
#endif /*defined(ETXTBSY)*/
#if defined(ETOOMANYREFS)
  ScmObj d1247[1];
#endif /*defined(ETOOMANYREFS)*/
#if defined(ETIMEDOUT)
  ScmObj d1245[1];
#endif /*defined(ETIMEDOUT)*/
#if defined(ETIME)
  ScmObj d1243[1];
#endif /*defined(ETIME)*/
#if defined(ESTRPIPE)
  ScmObj d1241[1];
#endif /*defined(ESTRPIPE)*/
#if defined(ESTALE)
  ScmObj d1239[1];
#endif /*defined(ESTALE)*/
#if defined(ESRMNT)
  ScmObj d1237[1];
#endif /*defined(ESRMNT)*/
#if defined(ESRCH)
  ScmObj d1235[1];
#endif /*defined(ESRCH)*/
#if defined(ESPIPE)
  ScmObj d1233[1];
#endif /*defined(ESPIPE)*/
#if defined(ESOCKTNOSUPPORT)
  ScmObj d1231[1];
#endif /*defined(ESOCKTNOSUPPORT)*/
#if defined(ESHUTDOWN)
  ScmObj d1229[1];
#endif /*defined(ESHUTDOWN)*/
#if defined(EROFS)
  ScmObj d1227[1];
#endif /*defined(EROFS)*/
#if defined(ERESTART)
  ScmObj d1225[1];
#endif /*defined(ERESTART)*/
#if defined(EREMOTEIO)
  ScmObj d1223[1];
#endif /*defined(EREMOTEIO)*/
#if defined(EREMOTE)
  ScmObj d1221[1];
#endif /*defined(EREMOTE)*/
#if defined(EREMCHG)
  ScmObj d1219[1];
#endif /*defined(EREMCHG)*/
#if defined(ERANGE)
  ScmObj d1217[1];
#endif /*defined(ERANGE)*/
#if defined(EPROTOTYPE)
  ScmObj d1215[1];
#endif /*defined(EPROTOTYPE)*/
#if defined(EPROTONOSUPPORT)
  ScmObj d1213[1];
#endif /*defined(EPROTONOSUPPORT)*/
#if defined(EPROTO)
  ScmObj d1211[1];
#endif /*defined(EPROTO)*/
#if defined(EPIPE)
  ScmObj d1209[1];
#endif /*defined(EPIPE)*/
#if defined(EPFNOSUPPORT)
  ScmObj d1207[1];
#endif /*defined(EPFNOSUPPORT)*/
#if defined(EPERM)
  ScmObj d1205[1];
#endif /*defined(EPERM)*/
#if defined(EOVERFLOW)
  ScmObj d1203[1];
#endif /*defined(EOVERFLOW)*/
#if defined(EOPNOTSUPP)
  ScmObj d1201[1];
#endif /*defined(EOPNOTSUPP)*/
#if defined(ENXIO)
  ScmObj d1199[1];
#endif /*defined(ENXIO)*/
#if defined(ENOTUNIQ)
  ScmObj d1197[1];
#endif /*defined(ENOTUNIQ)*/
#if defined(ENOTTY)
  ScmObj d1195[1];
#endif /*defined(ENOTTY)*/
#if defined(ENOTSOCK)
  ScmObj d1193[1];
#endif /*defined(ENOTSOCK)*/
#if defined(ENOTNAM)
  ScmObj d1191[1];
#endif /*defined(ENOTNAM)*/
#if defined(ENOTEMPTY)
  ScmObj d1189[1];
#endif /*defined(ENOTEMPTY)*/
#if defined(ENOTDIR)
  ScmObj d1187[1];
#endif /*defined(ENOTDIR)*/
#if defined(ENOTCONN)
  ScmObj d1185[1];
#endif /*defined(ENOTCONN)*/
#if defined(ENOTBLK)
  ScmObj d1183[1];
#endif /*defined(ENOTBLK)*/
#if defined(ENOSYS)
  ScmObj d1181[1];
#endif /*defined(ENOSYS)*/
#if defined(ENOSTR)
  ScmObj d1179[1];
#endif /*defined(ENOSTR)*/
#if defined(ENOSR)
  ScmObj d1177[1];
#endif /*defined(ENOSR)*/
#if defined(ENOSPC)
  ScmObj d1175[1];
#endif /*defined(ENOSPC)*/
#if defined(ENOPROTOOPT)
  ScmObj d1173[1];
#endif /*defined(ENOPROTOOPT)*/
#if defined(ENOPKG)
  ScmObj d1171[1];
#endif /*defined(ENOPKG)*/
#if defined(ENONET)
  ScmObj d1169[1];
#endif /*defined(ENONET)*/
#if defined(ENOMSG)
  ScmObj d1167[1];
#endif /*defined(ENOMSG)*/
#if defined(ENOMEM)
  ScmObj d1165[1];
#endif /*defined(ENOMEM)*/
#if defined(ENOMEDIUM)
  ScmObj d1163[1];
#endif /*defined(ENOMEDIUM)*/
#if defined(ENOLINK)
  ScmObj d1161[1];
#endif /*defined(ENOLINK)*/
#if defined(ENOLCK)
  ScmObj d1159[1];
#endif /*defined(ENOLCK)*/
#if defined(ENOKEY)
  ScmObj d1157[1];
#endif /*defined(ENOKEY)*/
#if defined(ENOEXEC)
  ScmObj d1155[1];
#endif /*defined(ENOEXEC)*/
#if defined(ENOENT)
  ScmObj d1153[1];
#endif /*defined(ENOENT)*/
#if defined(ENODEV)
  ScmObj d1151[1];
#endif /*defined(ENODEV)*/
#if defined(ENODATA)
  ScmObj d1149[1];
#endif /*defined(ENODATA)*/
#if defined(ENOCSI)
  ScmObj d1147[1];
#endif /*defined(ENOCSI)*/
#if defined(ENOBUFS)
  ScmObj d1145[1];
#endif /*defined(ENOBUFS)*/
#if defined(ENOANO)
  ScmObj d1143[1];
#endif /*defined(ENOANO)*/
#if defined(ENFILE)
  ScmObj d1141[1];
#endif /*defined(ENFILE)*/
#if defined(ENETUNREACH)
  ScmObj d1139[1];
#endif /*defined(ENETUNREACH)*/
#if defined(ENETRESET)
  ScmObj d1137[1];
#endif /*defined(ENETRESET)*/
#if defined(ENETDOWN)
  ScmObj d1135[1];
#endif /*defined(ENETDOWN)*/
#if defined(ENAVAIL)
  ScmObj d1133[1];
#endif /*defined(ENAVAIL)*/
#if defined(ENAMETOOLONG)
  ScmObj d1131[1];
#endif /*defined(ENAMETOOLONG)*/
#if defined(EMULTIHOP)
  ScmObj d1129[1];
#endif /*defined(EMULTIHOP)*/
#if defined(EMSGSIZE)
  ScmObj d1127[1];
#endif /*defined(EMSGSIZE)*/
#if defined(EMLINK)
  ScmObj d1125[1];
#endif /*defined(EMLINK)*/
#if defined(EMFILE)
  ScmObj d1123[1];
#endif /*defined(EMFILE)*/
#if defined(EMEDIUMTYPE)
  ScmObj d1121[1];
#endif /*defined(EMEDIUMTYPE)*/
#if defined(ELOOP)
  ScmObj d1119[1];
#endif /*defined(ELOOP)*/
#if defined(ELNRNG)
  ScmObj d1117[1];
#endif /*defined(ELNRNG)*/
#if defined(ELIBSCN)
  ScmObj d1115[1];
#endif /*defined(ELIBSCN)*/
#if defined(ELIBMAX)
  ScmObj d1113[1];
#endif /*defined(ELIBMAX)*/
#if defined(ELIBEXEC)
  ScmObj d1111[1];
#endif /*defined(ELIBEXEC)*/
#if defined(ELIBBAD)
  ScmObj d1109[1];
#endif /*defined(ELIBBAD)*/
#if defined(ELIBACC)
  ScmObj d1107[1];
#endif /*defined(ELIBACC)*/
#if defined(EL3RST)
  ScmObj d1105[1];
#endif /*defined(EL3RST)*/
#if defined(EL3HLT)
  ScmObj d1103[1];
#endif /*defined(EL3HLT)*/
#if defined(EL2NSYNC)
  ScmObj d1101[1];
#endif /*defined(EL2NSYNC)*/
#if defined(EL2HLT)
  ScmObj d1099[1];
#endif /*defined(EL2HLT)*/
#if defined(EKEYREVOKED)
  ScmObj d1097[1];
#endif /*defined(EKEYREVOKED)*/
#if defined(EKEYREJECTED)
  ScmObj d1095[1];
#endif /*defined(EKEYREJECTED)*/
#if defined(EKEYEXPIRED)
  ScmObj d1093[1];
#endif /*defined(EKEYEXPIRED)*/
#if defined(EISNAM)
  ScmObj d1091[1];
#endif /*defined(EISNAM)*/
#if defined(EISDIR)
  ScmObj d1089[1];
#endif /*defined(EISDIR)*/
#if defined(EISCONN)
  ScmObj d1087[1];
#endif /*defined(EISCONN)*/
#if defined(EIO)
  ScmObj d1085[1];
#endif /*defined(EIO)*/
#if defined(EINVAL)
  ScmObj d1083[1];
#endif /*defined(EINVAL)*/
#if defined(EINTR)
  ScmObj d1081[1];
#endif /*defined(EINTR)*/
#if defined(EINPROGRESS)
  ScmObj d1079[1];
#endif /*defined(EINPROGRESS)*/
#if defined(EILSEQ)
  ScmObj d1077[1];
#endif /*defined(EILSEQ)*/
#if defined(EIDRM)
  ScmObj d1075[1];
#endif /*defined(EIDRM)*/
#if defined(EHOSTUNREACH)
  ScmObj d1073[1];
#endif /*defined(EHOSTUNREACH)*/
#if defined(EHOSTDOWN)
  ScmObj d1071[1];
#endif /*defined(EHOSTDOWN)*/
#if defined(EFBIG)
  ScmObj d1069[1];
#endif /*defined(EFBIG)*/
#if defined(EFAULT)
  ScmObj d1067[1];
#endif /*defined(EFAULT)*/
#if defined(EEXIST)
  ScmObj d1065[1];
#endif /*defined(EEXIST)*/
#if defined(EDQUOT)
  ScmObj d1063[1];
#endif /*defined(EDQUOT)*/
#if defined(EDOTDOT)
  ScmObj d1061[1];
#endif /*defined(EDOTDOT)*/
#if defined(EDOM)
  ScmObj d1059[1];
#endif /*defined(EDOM)*/
#if defined(EDESTADDRREQ)
  ScmObj d1057[1];
#endif /*defined(EDESTADDRREQ)*/
#if defined(EDEADLOCK)
  ScmObj d1055[1];
#endif /*defined(EDEADLOCK)*/
#if defined(EDEADLK)
  ScmObj d1053[1];
#endif /*defined(EDEADLK)*/
#if defined(ECONNRESET)
  ScmObj d1051[1];
#endif /*defined(ECONNRESET)*/
#if defined(ECONNREFUSED)
  ScmObj d1049[1];
#endif /*defined(ECONNREFUSED)*/
#if defined(ECONNABORTED)
  ScmObj d1047[1];
#endif /*defined(ECONNABORTED)*/
#if defined(ECOMM)
  ScmObj d1045[1];
#endif /*defined(ECOMM)*/
#if defined(ECHRNG)
  ScmObj d1043[1];
#endif /*defined(ECHRNG)*/
#if defined(ECHILD)
  ScmObj d1041[1];
#endif /*defined(ECHILD)*/
#if defined(ECANCELED)
  ScmObj d1039[1];
#endif /*defined(ECANCELED)*/
#if defined(EBUSY)
  ScmObj d1037[1];
#endif /*defined(EBUSY)*/
#if defined(EBFONT)
  ScmObj d1035[1];
#endif /*defined(EBFONT)*/
#if defined(EBADSLT)
  ScmObj d1033[1];
#endif /*defined(EBADSLT)*/
#if defined(EBADRQC)
  ScmObj d1031[1];
#endif /*defined(EBADRQC)*/
#if defined(EBADR)
  ScmObj d1029[1];
#endif /*defined(EBADR)*/
#if defined(EBADMSG)
  ScmObj d1027[1];
#endif /*defined(EBADMSG)*/
#if defined(EBADFD)
  ScmObj d1025[1];
#endif /*defined(EBADFD)*/
#if defined(EBADF)
  ScmObj d1023[1];
#endif /*defined(EBADF)*/
#if defined(EBADE)
  ScmObj d1021[1];
#endif /*defined(EBADE)*/
#if defined(EALREADY)
  ScmObj d1019[1];
#endif /*defined(EALREADY)*/
#if defined(EAGAIN)
  ScmObj d1017[1];
#endif /*defined(EAGAIN)*/
#if defined(EAFNOSUPPORT)
  ScmObj d1015[1];
#endif /*defined(EAFNOSUPPORT)*/
#if defined(EADV)
  ScmObj d1013[1];
#endif /*defined(EADV)*/
#if defined(EADDRNOTAVAIL)
  ScmObj d1011[1];
#endif /*defined(EADDRNOTAVAIL)*/
#if defined(EADDRINUSE)
  ScmObj d1009[1];
#endif /*defined(EADDRINUSE)*/
#if defined(EACCES)
  ScmObj d1007[1];
#endif /*defined(EACCES)*/
#if defined(E2BIG)
  ScmObj d1005[1];
#endif /*defined(E2BIG)*/
  ScmObj d1004[26];
} scm__rc = {
#if defined(GAUCHE_WINDOWS)
  {   /* ScmObj d1310 */
    SCM_UNBOUND,
    SCM_UNBOUND,
  },
#endif /*defined(GAUCHE_WINDOWS)*/
#if defined(RLIMIT_OFILE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1298 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_OFILE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_STACK)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1296 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_STACK)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_SBSIZE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1294 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_SBSIZE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_SIGPENDING)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1292 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_SIGPENDING)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_RTPRIO)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1290 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_RTPRIO)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_RSS)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1288 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_RSS)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_NPROC)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1286 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_NPROC)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_NOFILE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1284 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_NOFILE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_NICE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1282 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_NICE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_MSGQUEUE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1280 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_MSGQUEUE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_MEMLOCK)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1278 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_MEMLOCK)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_LOCKS)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1276 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_LOCKS)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_FSIZE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1274 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_FSIZE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_DATA)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1272 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_DATA)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_CPU)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1270 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_CPU)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_CORE)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1268 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_CORE)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(RLIMIT_AS)
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1266 */
    SCM_UNBOUND,
  },
#endif /*defined(RLIMIT_AS)*/
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(HAVE_SYS_RESOURCE_H)
  {   /* ScmObj d1265 */
    SCM_UNBOUND,
  },
#endif /*defined(HAVE_SYS_RESOURCE_H)*/
#if defined(EXFULL)
  {   /* ScmObj d1261 */
    SCM_UNBOUND,
  },
#endif /*defined(EXFULL)*/
#if defined(EXDEV)
  {   /* ScmObj d1259 */
    SCM_UNBOUND,
  },
#endif /*defined(EXDEV)*/
#if defined(EWOULDBLOCK)
  {   /* ScmObj d1257 */
    SCM_UNBOUND,
  },
#endif /*defined(EWOULDBLOCK)*/
#if defined(EUSERS)
  {   /* ScmObj d1255 */
    SCM_UNBOUND,
  },
#endif /*defined(EUSERS)*/
#if defined(EUNATCH)
  {   /* ScmObj d1253 */
    SCM_UNBOUND,
  },
#endif /*defined(EUNATCH)*/
#if defined(EUCLEAN)
  {   /* ScmObj d1251 */
    SCM_UNBOUND,
  },
#endif /*defined(EUCLEAN)*/
#if defined(ETXTBSY)
  {   /* ScmObj d1249 */
    SCM_UNBOUND,
  },
#endif /*defined(ETXTBSY)*/
#if defined(ETOOMANYREFS)
  {   /* ScmObj d1247 */
    SCM_UNBOUND,
  },
#endif /*defined(ETOOMANYREFS)*/
#if defined(ETIMEDOUT)
  {   /* ScmObj d1245 */
    SCM_UNBOUND,
  },
#endif /*defined(ETIMEDOUT)*/
#if defined(ETIME)
  {   /* ScmObj d1243 */
    SCM_UNBOUND,
  },
#endif /*defined(ETIME)*/
#if defined(ESTRPIPE)
  {   /* ScmObj d1241 */
    SCM_UNBOUND,
  },
#endif /*defined(ESTRPIPE)*/
#if defined(ESTALE)
  {   /* ScmObj d1239 */
    SCM_UNBOUND,
  },
#endif /*defined(ESTALE)*/
#if defined(ESRMNT)
  {   /* ScmObj d1237 */
    SCM_UNBOUND,
  },
#endif /*defined(ESRMNT)*/
#if defined(ESRCH)
  {   /* ScmObj d1235 */
    SCM_UNBOUND,
  },
#endif /*defined(ESRCH)*/
#if defined(ESPIPE)
  {   /* ScmObj d1233 */
    SCM_UNBOUND,
  },
#endif /*defined(ESPIPE)*/
#if defined(ESOCKTNOSUPPORT)
  {   /* ScmObj d1231 */
    SCM_UNBOUND,
  },
#endif /*defined(ESOCKTNOSUPPORT)*/
#if defined(ESHUTDOWN)
  {   /* ScmObj d1229 */
    SCM_UNBOUND,
  },
#endif /*defined(ESHUTDOWN)*/
#if defined(EROFS)
  {   /* ScmObj d1227 */
    SCM_UNBOUND,
  },
#endif /*defined(EROFS)*/
#if defined(ERESTART)
  {   /* ScmObj d1225 */
    SCM_UNBOUND,
  },
#endif /*defined(ERESTART)*/
#if defined(EREMOTEIO)
  {   /* ScmObj d1223 */
    SCM_UNBOUND,
  },
#endif /*defined(EREMOTEIO)*/
#if defined(EREMOTE)
  {   /* ScmObj d1221 */
    SCM_UNBOUND,
  },
#endif /*defined(EREMOTE)*/
#if defined(EREMCHG)
  {   /* ScmObj d1219 */
    SCM_UNBOUND,
  },
#endif /*defined(EREMCHG)*/
#if defined(ERANGE)
  {   /* ScmObj d1217 */
    SCM_UNBOUND,
  },
#endif /*defined(ERANGE)*/
#if defined(EPROTOTYPE)
  {   /* ScmObj d1215 */
    SCM_UNBOUND,
  },
#endif /*defined(EPROTOTYPE)*/
#if defined(EPROTONOSUPPORT)
  {   /* ScmObj d1213 */
    SCM_UNBOUND,
  },
#endif /*defined(EPROTONOSUPPORT)*/
#if defined(EPROTO)
  {   /* ScmObj d1211 */
    SCM_UNBOUND,
  },
#endif /*defined(EPROTO)*/
#if defined(EPIPE)
  {   /* ScmObj d1209 */
    SCM_UNBOUND,
  },
#endif /*defined(EPIPE)*/
#if defined(EPFNOSUPPORT)
  {   /* ScmObj d1207 */
    SCM_UNBOUND,
  },
#endif /*defined(EPFNOSUPPORT)*/
#if defined(EPERM)
  {   /* ScmObj d1205 */
    SCM_UNBOUND,
  },
#endif /*defined(EPERM)*/
#if defined(EOVERFLOW)
  {   /* ScmObj d1203 */
    SCM_UNBOUND,
  },
#endif /*defined(EOVERFLOW)*/
#if defined(EOPNOTSUPP)
  {   /* ScmObj d1201 */
    SCM_UNBOUND,
  },
#endif /*defined(EOPNOTSUPP)*/
#if defined(ENXIO)
  {   /* ScmObj d1199 */
    SCM_UNBOUND,
  },
#endif /*defined(ENXIO)*/
#if defined(ENOTUNIQ)
  {   /* ScmObj d1197 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOTUNIQ)*/
#if defined(ENOTTY)
  {   /* ScmObj d1195 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOTTY)*/
#if defined(ENOTSOCK)
  {   /* ScmObj d1193 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOTSOCK)*/
#if defined(ENOTNAM)
  {   /* ScmObj d1191 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOTNAM)*/
#if defined(ENOTEMPTY)
  {   /* ScmObj d1189 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOTEMPTY)*/
#if defined(ENOTDIR)
  {   /* ScmObj d1187 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOTDIR)*/
#if defined(ENOTCONN)
  {   /* ScmObj d1185 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOTCONN)*/
#if defined(ENOTBLK)
  {   /* ScmObj d1183 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOTBLK)*/
#if defined(ENOSYS)
  {   /* ScmObj d1181 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOSYS)*/
#if defined(ENOSTR)
  {   /* ScmObj d1179 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOSTR)*/
#if defined(ENOSR)
  {   /* ScmObj d1177 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOSR)*/
#if defined(ENOSPC)
  {   /* ScmObj d1175 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOSPC)*/
#if defined(ENOPROTOOPT)
  {   /* ScmObj d1173 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOPROTOOPT)*/
#if defined(ENOPKG)
  {   /* ScmObj d1171 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOPKG)*/
#if defined(ENONET)
  {   /* ScmObj d1169 */
    SCM_UNBOUND,
  },
#endif /*defined(ENONET)*/
#if defined(ENOMSG)
  {   /* ScmObj d1167 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOMSG)*/
#if defined(ENOMEM)
  {   /* ScmObj d1165 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOMEM)*/
#if defined(ENOMEDIUM)
  {   /* ScmObj d1163 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOMEDIUM)*/
#if defined(ENOLINK)
  {   /* ScmObj d1161 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOLINK)*/
#if defined(ENOLCK)
  {   /* ScmObj d1159 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOLCK)*/
#if defined(ENOKEY)
  {   /* ScmObj d1157 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOKEY)*/
#if defined(ENOEXEC)
  {   /* ScmObj d1155 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOEXEC)*/
#if defined(ENOENT)
  {   /* ScmObj d1153 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOENT)*/
#if defined(ENODEV)
  {   /* ScmObj d1151 */
    SCM_UNBOUND,
  },
#endif /*defined(ENODEV)*/
#if defined(ENODATA)
  {   /* ScmObj d1149 */
    SCM_UNBOUND,
  },
#endif /*defined(ENODATA)*/
#if defined(ENOCSI)
  {   /* ScmObj d1147 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOCSI)*/
#if defined(ENOBUFS)
  {   /* ScmObj d1145 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOBUFS)*/
#if defined(ENOANO)
  {   /* ScmObj d1143 */
    SCM_UNBOUND,
  },
#endif /*defined(ENOANO)*/
#if defined(ENFILE)
  {   /* ScmObj d1141 */
    SCM_UNBOUND,
  },
#endif /*defined(ENFILE)*/
#if defined(ENETUNREACH)
  {   /* ScmObj d1139 */
    SCM_UNBOUND,
  },
#endif /*defined(ENETUNREACH)*/
#if defined(ENETRESET)
  {   /* ScmObj d1137 */
    SCM_UNBOUND,
  },
#endif /*defined(ENETRESET)*/
#if defined(ENETDOWN)
  {   /* ScmObj d1135 */
    SCM_UNBOUND,
  },
#endif /*defined(ENETDOWN)*/
#if defined(ENAVAIL)
  {   /* ScmObj d1133 */
    SCM_UNBOUND,
  },
#endif /*defined(ENAVAIL)*/
#if defined(ENAMETOOLONG)
  {   /* ScmObj d1131 */
    SCM_UNBOUND,
  },
#endif /*defined(ENAMETOOLONG)*/
#if defined(EMULTIHOP)
  {   /* ScmObj d1129 */
    SCM_UNBOUND,
  },
#endif /*defined(EMULTIHOP)*/
#if defined(EMSGSIZE)
  {   /* ScmObj d1127 */
    SCM_UNBOUND,
  },
#endif /*defined(EMSGSIZE)*/
#if defined(EMLINK)
  {   /* ScmObj d1125 */
    SCM_UNBOUND,
  },
#endif /*defined(EMLINK)*/
#if defined(EMFILE)
  {   /* ScmObj d1123 */
    SCM_UNBOUND,
  },
#endif /*defined(EMFILE)*/
#if defined(EMEDIUMTYPE)
  {   /* ScmObj d1121 */
    SCM_UNBOUND,
  },
#endif /*defined(EMEDIUMTYPE)*/
#if defined(ELOOP)
  {   /* ScmObj d1119 */
    SCM_UNBOUND,
  },
#endif /*defined(ELOOP)*/
#if defined(ELNRNG)
  {   /* ScmObj d1117 */
    SCM_UNBOUND,
  },
#endif /*defined(ELNRNG)*/
#if defined(ELIBSCN)
  {   /* ScmObj d1115 */
    SCM_UNBOUND,
  },
#endif /*defined(ELIBSCN)*/
#if defined(ELIBMAX)
  {   /* ScmObj d1113 */
    SCM_UNBOUND,
  },
#endif /*defined(ELIBMAX)*/
#if defined(ELIBEXEC)
  {   /* ScmObj d1111 */
    SCM_UNBOUND,
  },
#endif /*defined(ELIBEXEC)*/
#if defined(ELIBBAD)
  {   /* ScmObj d1109 */
    SCM_UNBOUND,
  },
#endif /*defined(ELIBBAD)*/
#if defined(ELIBACC)
  {   /* ScmObj d1107 */
    SCM_UNBOUND,
  },
#endif /*defined(ELIBACC)*/
#if defined(EL3RST)
  {   /* ScmObj d1105 */
    SCM_UNBOUND,
  },
#endif /*defined(EL3RST)*/
#if defined(EL3HLT)
  {   /* ScmObj d1103 */
    SCM_UNBOUND,
  },
#endif /*defined(EL3HLT)*/
#if defined(EL2NSYNC)
  {   /* ScmObj d1101 */
    SCM_UNBOUND,
  },
#endif /*defined(EL2NSYNC)*/
#if defined(EL2HLT)
  {   /* ScmObj d1099 */
    SCM_UNBOUND,
  },
#endif /*defined(EL2HLT)*/
#if defined(EKEYREVOKED)
  {   /* ScmObj d1097 */
    SCM_UNBOUND,
  },
#endif /*defined(EKEYREVOKED)*/
#if defined(EKEYREJECTED)
  {   /* ScmObj d1095 */
    SCM_UNBOUND,
  },
#endif /*defined(EKEYREJECTED)*/
#if defined(EKEYEXPIRED)
  {   /* ScmObj d1093 */
    SCM_UNBOUND,
  },
#endif /*defined(EKEYEXPIRED)*/
#if defined(EISNAM)
  {   /* ScmObj d1091 */
    SCM_UNBOUND,
  },
#endif /*defined(EISNAM)*/
#if defined(EISDIR)
  {   /* ScmObj d1089 */
    SCM_UNBOUND,
  },
#endif /*defined(EISDIR)*/
#if defined(EISCONN)
  {   /* ScmObj d1087 */
    SCM_UNBOUND,
  },
#endif /*defined(EISCONN)*/
#if defined(EIO)
  {   /* ScmObj d1085 */
    SCM_UNBOUND,
  },
#endif /*defined(EIO)*/
#if defined(EINVAL)
  {   /* ScmObj d1083 */
    SCM_UNBOUND,
  },
#endif /*defined(EINVAL)*/
#if defined(EINTR)
  {   /* ScmObj d1081 */
    SCM_UNBOUND,
  },
#endif /*defined(EINTR)*/
#if defined(EINPROGRESS)
  {   /* ScmObj d1079 */
    SCM_UNBOUND,
  },
#endif /*defined(EINPROGRESS)*/
#if defined(EILSEQ)
  {   /* ScmObj d1077 */
    SCM_UNBOUND,
  },
#endif /*defined(EILSEQ)*/
#if defined(EIDRM)
  {   /* ScmObj d1075 */
    SCM_UNBOUND,
  },
#endif /*defined(EIDRM)*/
#if defined(EHOSTUNREACH)
  {   /* ScmObj d1073 */
    SCM_UNBOUND,
  },
#endif /*defined(EHOSTUNREACH)*/
#if defined(EHOSTDOWN)
  {   /* ScmObj d1071 */
    SCM_UNBOUND,
  },
#endif /*defined(EHOSTDOWN)*/
#if defined(EFBIG)
  {   /* ScmObj d1069 */
    SCM_UNBOUND,
  },
#endif /*defined(EFBIG)*/
#if defined(EFAULT)
  {   /* ScmObj d1067 */
    SCM_UNBOUND,
  },
#endif /*defined(EFAULT)*/
#if defined(EEXIST)
  {   /* ScmObj d1065 */
    SCM_UNBOUND,
  },
#endif /*defined(EEXIST)*/
#if defined(EDQUOT)
  {   /* ScmObj d1063 */
    SCM_UNBOUND,
  },
#endif /*defined(EDQUOT)*/
#if defined(EDOTDOT)
  {   /* ScmObj d1061 */
    SCM_UNBOUND,
  },
#endif /*defined(EDOTDOT)*/
#if defined(EDOM)
  {   /* ScmObj d1059 */
    SCM_UNBOUND,
  },
#endif /*defined(EDOM)*/
#if defined(EDESTADDRREQ)
  {   /* ScmObj d1057 */
    SCM_UNBOUND,
  },
#endif /*defined(EDESTADDRREQ)*/
#if defined(EDEADLOCK)
  {   /* ScmObj d1055 */
    SCM_UNBOUND,
  },
#endif /*defined(EDEADLOCK)*/
#if defined(EDEADLK)
  {   /* ScmObj d1053 */
    SCM_UNBOUND,
  },
#endif /*defined(EDEADLK)*/
#if defined(ECONNRESET)
  {   /* ScmObj d1051 */
    SCM_UNBOUND,
  },
#endif /*defined(ECONNRESET)*/
#if defined(ECONNREFUSED)
  {   /* ScmObj d1049 */
    SCM_UNBOUND,
  },
#endif /*defined(ECONNREFUSED)*/
#if defined(ECONNABORTED)
  {   /* ScmObj d1047 */
    SCM_UNBOUND,
  },
#endif /*defined(ECONNABORTED)*/
#if defined(ECOMM)
  {   /* ScmObj d1045 */
    SCM_UNBOUND,
  },
#endif /*defined(ECOMM)*/
#if defined(ECHRNG)
  {   /* ScmObj d1043 */
    SCM_UNBOUND,
  },
#endif /*defined(ECHRNG)*/
#if defined(ECHILD)
  {   /* ScmObj d1041 */
    SCM_UNBOUND,
  },
#endif /*defined(ECHILD)*/
#if defined(ECANCELED)
  {   /* ScmObj d1039 */
    SCM_UNBOUND,
  },
#endif /*defined(ECANCELED)*/
#if defined(EBUSY)
  {   /* ScmObj d1037 */
    SCM_UNBOUND,
  },
#endif /*defined(EBUSY)*/
#if defined(EBFONT)
  {   /* ScmObj d1035 */
    SCM_UNBOUND,
  },
#endif /*defined(EBFONT)*/
#if defined(EBADSLT)
  {   /* ScmObj d1033 */
    SCM_UNBOUND,
  },
#endif /*defined(EBADSLT)*/
#if defined(EBADRQC)
  {   /* ScmObj d1031 */
    SCM_UNBOUND,
  },
#endif /*defined(EBADRQC)*/
#if defined(EBADR)
  {   /* ScmObj d1029 */
    SCM_UNBOUND,
  },
#endif /*defined(EBADR)*/
#if defined(EBADMSG)
  {   /* ScmObj d1027 */
    SCM_UNBOUND,
  },
#endif /*defined(EBADMSG)*/
#if defined(EBADFD)
  {   /* ScmObj d1025 */
    SCM_UNBOUND,
  },
#endif /*defined(EBADFD)*/
#if defined(EBADF)
  {   /* ScmObj d1023 */
    SCM_UNBOUND,
  },
#endif /*defined(EBADF)*/
#if defined(EBADE)
  {   /* ScmObj d1021 */
    SCM_UNBOUND,
  },
#endif /*defined(EBADE)*/
#if defined(EALREADY)
  {   /* ScmObj d1019 */
    SCM_UNBOUND,
  },
#endif /*defined(EALREADY)*/
#if defined(EAGAIN)
  {   /* ScmObj d1017 */
    SCM_UNBOUND,
  },
#endif /*defined(EAGAIN)*/
#if defined(EAFNOSUPPORT)
  {   /* ScmObj d1015 */
    SCM_UNBOUND,
  },
#endif /*defined(EAFNOSUPPORT)*/
#if defined(EADV)
  {   /* ScmObj d1013 */
    SCM_UNBOUND,
  },
#endif /*defined(EADV)*/
#if defined(EADDRNOTAVAIL)
  {   /* ScmObj d1011 */
    SCM_UNBOUND,
  },
#endif /*defined(EADDRNOTAVAIL)*/
#if defined(EADDRINUSE)
  {   /* ScmObj d1009 */
    SCM_UNBOUND,
  },
#endif /*defined(EADDRINUSE)*/
#if defined(EACCES)
  {   /* ScmObj d1007 */
    SCM_UNBOUND,
  },
#endif /*defined(EACCES)*/
#if defined(E2BIG)
  {   /* ScmObj d1005 */
    SCM_UNBOUND,
  },
#endif /*defined(E2BIG)*/
  {   /* ScmObj d1004 */
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
    SCM_UNBOUND,
  },
};
static ScmObj syslib_sys_readdir(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj pathname_scm;
  ScmString* pathname;
  SCM_ENTER_SUBR("sys-readdir");
  pathname_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(pathname_scm)) Scm_Error("string required, but got %S", pathname_scm);
  pathname = SCM_STRING(pathname_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_ReadDirectory(pathname));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_readdir__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[0]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_readdir, NULL, NULL);

static ScmObj syslib_sys_normalize_pathname(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj pathname_scm;
  ScmString* pathname;
  ScmObj absolute_scm = SCM_FALSE;
  ScmObj absolute;
  ScmObj expand_scm = SCM_FALSE;
  ScmObj expand;
  ScmObj canonicalize_scm = SCM_FALSE;
  ScmObj canonicalize;
  ScmObj SCM_OPTARGS = SCM_ARGREF(SCM_ARGCNT-1);
  SCM_ENTER_SUBR("sys-normalize-pathname");
  pathname_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(pathname_scm)) Scm_Error("string required, but got %S", pathname_scm);
  pathname = SCM_STRING(pathname_scm);
  if (Scm_Length(SCM_OPTARGS) % 2)
    Scm_Error("keyword list not even: %S", SCM_OPTARGS);
  while (!SCM_NULLP(SCM_OPTARGS)) {
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[0])) {
      absolute_scm = SCM_CADR(SCM_OPTARGS);
    } else 
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[1])) {
      expand_scm = SCM_CADR(SCM_OPTARGS);
    } else 
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[2])) {
      canonicalize_scm = SCM_CADR(SCM_OPTARGS);
    }
    else Scm_Warn("unknown keyword %S", SCM_CAR(SCM_OPTARGS));
    SCM_OPTARGS = SCM_CDDR(SCM_OPTARGS);
  }
  absolute = (absolute_scm);
  expand = (expand_scm);
  canonicalize = (canonicalize_scm);
  {
{
ScmObj SCM_RESULT;

#line 60 "syslib.stub"
{int flags=0;
if (!(SCM_FALSEP(absolute))){{(flags)|=(SCM_PATH_ABSOLUTE);}}
if (!(SCM_FALSEP(expand))){{(flags)|=(SCM_PATH_EXPAND);}}
if (!(SCM_FALSEP(canonicalize))){{(flags)|=(SCM_PATH_CANONICALIZE);}}
SCM_RESULT=(Scm_NormalizePathname(pathname,flags));}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_normalize_pathname__STUB, 1, 1,0, SCM_OBJ(&scm__sc.d1003[4]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_normalize_pathname, NULL, NULL);

static ScmObj syslib_sys_tmpdir(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-tmpdir");
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_TmpDir());
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_tmpdir__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[5]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_tmpdir, NULL, NULL);

static ScmObj syslib_sys_basename(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj pathname_scm;
  ScmString* pathname;
  SCM_ENTER_SUBR("sys-basename");
  pathname_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(pathname_scm)) Scm_Error("string required, but got %S", pathname_scm);
  pathname = SCM_STRING(pathname_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_BaseName(pathname));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_basename__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[6]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_basename, NULL, NULL);

static ScmObj syslib_sys_dirname(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj pathname_scm;
  ScmString* pathname;
  SCM_ENTER_SUBR("sys-dirname");
  pathname_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(pathname_scm)) Scm_Error("string required, but got %S", pathname_scm);
  pathname = SCM_STRING(pathname_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_DirName(pathname));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_dirname__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[7]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_dirname, NULL, NULL);

static ScmObj syslib_sys_getgrgid(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj gid_scm;
  int gid;
  SCM_ENTER_SUBR("sys-getgrgid");
  gid_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(gid_scm)) Scm_Error("C integer required, but got %S", gid_scm);
  gid = Scm_GetInteger(gid_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_GetGroupById(gid));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_getgrgid__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[8]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_getgrgid, NULL, NULL);

static ScmObj syslib_sys_getgrnam(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj name_scm;
  ScmString* name;
  SCM_ENTER_SUBR("sys-getgrnam");
  name_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(name_scm)) Scm_Error("string required, but got %S", name_scm);
  name = SCM_STRING(name_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_GetGroupByName(name));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_getgrnam__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[9]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_getgrnam, NULL, NULL);

static ScmObj syslib_sys_gid_TOgroup_name(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj gid_scm;
  int gid;
  SCM_ENTER_SUBR("sys-gid->group-name");
  gid_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(gid_scm)) Scm_Error("C integer required, but got %S", gid_scm);
  gid = Scm_GetInteger(gid_scm);
  {
{
ScmObj SCM_RESULT;

#line 216 "syslib.stub"
{struct group* g=getgrgid(gid);
if ((g)==(NULL)){Scm_SigCheck(Scm_VM());SCM_RESULT=(SCM_FALSE);} else {
SCM_RESULT=(SCM_MAKE_STR_COPYING((g)->gr_name));}}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_gid_TOgroup_name__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[10]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_gid_TOgroup_name, NULL, NULL);

static ScmObj syslib_sys_group_name_TOgid(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj name_scm;
  const char * name;
  SCM_ENTER_SUBR("sys-group-name->gid");
  name_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(name_scm)) Scm_Error("const C string required, but got %S", name_scm);
  name = SCM_STRING_CONST_CSTRING(name_scm);
  {
{
ScmObj SCM_RESULT;

#line 220 "syslib.stub"
{struct group* g=getgrnam(name);
if ((g)==(NULL)){Scm_SigCheck(Scm_VM());SCM_RESULT=(SCM_FALSE);} else {
SCM_RESULT=(Scm_MakeInteger((g)->gr_gid));}}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_group_name_TOgid__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[11]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_group_name_TOgid, NULL, NULL);

static ScmObj syslib_sys_setlocale(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj category_scm;
  int category;
  ScmObj locale_scm;
  const char * locale;
  SCM_ENTER_SUBR("sys-setlocale");
  category_scm = SCM_ARGREF(0);
  if (!SCM_INTP(category_scm)) Scm_Error("small integer required, but got %S", category_scm);
  category = SCM_INT_VALUE(category_scm);
  locale_scm = SCM_ARGREF(1);
  if (!SCM_STRINGP(locale_scm)) Scm_Error("const C string required, but got %S", locale_scm);
  locale = SCM_STRING_CONST_CSTRING(locale_scm);
  {
{
const char * SCM_RESULT;
SCM_RESULT=(setlocale(category,locale));
SCM_RETURN(SCM_MAKE_MAYBE(SCM_MAKE_STR_COPYING, SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_setlocale__STUB, 2, 0,0, SCM_OBJ(&scm__sc.d1003[18]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_setlocale, NULL, NULL);

static ScmObj syslib_sys_getpwuid(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj uid_scm;
  int uid;
  SCM_ENTER_SUBR("sys-getpwuid");
  uid_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(uid_scm)) Scm_Error("C integer required, but got %S", uid_scm);
  uid = Scm_GetInteger(uid_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_GetPasswdById(uid));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_getpwuid__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[19]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_getpwuid, NULL, NULL);

static ScmObj syslib_sys_getpwnam(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj name_scm;
  ScmString* name;
  SCM_ENTER_SUBR("sys-getpwnam");
  name_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(name_scm)) Scm_Error("string required, but got %S", name_scm);
  name = SCM_STRING(name_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_GetPasswdByName(name));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_getpwnam__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[20]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_getpwnam, NULL, NULL);

static ScmObj syslib_sys_uid_TOuser_name(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj uid_scm;
  int uid;
  SCM_ENTER_SUBR("sys-uid->user-name");
  uid_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(uid_scm)) Scm_Error("C integer required, but got %S", uid_scm);
  uid = Scm_GetInteger(uid_scm);
  {
{
ScmObj SCM_RESULT;

#line 250 "syslib.stub"
{struct passwd* p=getpwuid(uid);
if ((p)==(NULL)){Scm_SigCheck(Scm_VM());SCM_RESULT=(SCM_FALSE);} else {
SCM_RESULT=(SCM_MAKE_STR_COPYING((p)->pw_name));}}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_uid_TOuser_name__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[21]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_uid_TOuser_name, NULL, NULL);

static ScmObj syslib_sys_user_name_TOuid(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj name_scm;
  const char * name;
  SCM_ENTER_SUBR("sys-user-name->uid");
  name_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(name_scm)) Scm_Error("const C string required, but got %S", name_scm);
  name = SCM_STRING_CONST_CSTRING(name_scm);
  {
{
ScmObj SCM_RESULT;

#line 254 "syslib.stub"
{struct passwd* p=getpwnam(name);
if ((p)==(NULL)){Scm_SigCheck(Scm_VM());SCM_RESULT=(SCM_FALSE);} else {
SCM_RESULT=(Scm_MakeInteger((p)->pw_uid));}}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_user_name_TOuid__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[22]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_user_name_TOuid, NULL, NULL);

static ScmObj syslib_sys_sigset_addX(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj set_scm;
  ScmSysSigset* set;
  ScmObj sigs_scm;
  ScmObj sigs;
  SCM_ENTER_SUBR("sys-sigset-add!");
  set_scm = SCM_ARGREF(0);
  if (!SCM_SYS_SIGSET_P(set_scm)) Scm_Error("<sys-sigset> required, but got %S", set_scm);
  set = SCM_SYS_SIGSET(set_scm);
  sigs_scm = SCM_ARGREF(SCM_ARGCNT-1);
  sigs = (sigs_scm);
  {
{
ScmObj SCM_RESULT;

#line 269 "syslib.stub"
SCM_RESULT=(Scm_SysSigsetOp(set,sigs,FALSE));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_sigset_addX__STUB, 1, 1,0, SCM_OBJ(&scm__sc.d1003[23]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_sigset_addX, NULL, NULL);

static ScmObj syslib_sys_sigset_deleteX(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj set_scm;
  ScmSysSigset* set;
  ScmObj sigs_scm;
  ScmObj sigs;
  SCM_ENTER_SUBR("sys-sigset-delete!");
  set_scm = SCM_ARGREF(0);
  if (!SCM_SYS_SIGSET_P(set_scm)) Scm_Error("<sys-sigset> required, but got %S", set_scm);
  set = SCM_SYS_SIGSET(set_scm);
  sigs_scm = SCM_ARGREF(SCM_ARGCNT-1);
  sigs = (sigs_scm);
  {
{
ScmObj SCM_RESULT;

#line 272 "syslib.stub"
SCM_RESULT=(Scm_SysSigsetOp(set,sigs,TRUE));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_sigset_deleteX__STUB, 1, 1,0, SCM_OBJ(&scm__sc.d1003[24]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_sigset_deleteX, NULL, NULL);

static ScmObj syslib_sys_sigset_fillX(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj set_scm;
  ScmSysSigset* set;
  SCM_ENTER_SUBR("sys-sigset-fill!");
  set_scm = SCM_ARGREF(0);
  if (!SCM_SYS_SIGSET_P(set_scm)) Scm_Error("<sys-sigset> required, but got %S", set_scm);
  set = SCM_SYS_SIGSET(set_scm);
  {
{
ScmObj SCM_RESULT;

#line 275 "syslib.stub"
SCM_RESULT=(Scm_SysSigsetFill(set,FALSE));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_sigset_fillX__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[25]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_sigset_fillX, NULL, NULL);

static ScmObj syslib_sys_sigset_emptyX(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj set_scm;
  ScmSysSigset* set;
  SCM_ENTER_SUBR("sys-sigset-empty!");
  set_scm = SCM_ARGREF(0);
  if (!SCM_SYS_SIGSET_P(set_scm)) Scm_Error("<sys-sigset> required, but got %S", set_scm);
  set = SCM_SYS_SIGSET(set_scm);
  {
{
ScmObj SCM_RESULT;

#line 278 "syslib.stub"
SCM_RESULT=(Scm_SysSigsetFill(set,TRUE));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_sigset_emptyX__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[26]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_sigset_emptyX, NULL, NULL);

static ScmObj syslib_sys_signal_name(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj sig_scm;
  int sig;
  SCM_ENTER_SUBR("sys-signal-name");
  sig_scm = SCM_ARGREF(0);
  if (!SCM_INTP(sig_scm)) Scm_Error("small integer required, but got %S", sig_scm);
  sig = SCM_INT_VALUE(sig_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_SignalName(sig));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_signal_name__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[27]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_signal_name, NULL, NULL);

static ScmObj syslib_sys_kill(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj process_scm;
  ScmObj process;
  ScmObj sig_scm;
  int sig;
  SCM_ENTER_SUBR("sys-kill");
  process_scm = SCM_ARGREF(0);
  process = (process_scm);
  sig_scm = SCM_ARGREF(1);
  if (!SCM_INTP(sig_scm)) Scm_Error("small integer required, but got %S", sig_scm);
  sig = SCM_INT_VALUE(sig_scm);
  {
Scm_SysKill(process,sig);
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBR(syslib_sys_kill__STUB, 2, 0,SCM_OBJ(&scm__sc.d1003[28]),syslib_sys_kill, NULL, NULL);

static ScmObj syslib_set_signal_handlerX(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj sig_scm;
  ScmObj sig;
  ScmObj proc_scm;
  ScmObj proc;
  ScmObj mask_scm;
  ScmSysSigset* mask;
  SCM_ENTER_SUBR("set-signal-handler!");
  if (SCM_ARGCNT >= 4
      && !SCM_NULLP(SCM_ARGREF(SCM_ARGCNT-1)))
    Scm_Error("too many arguments: up to 3 is expected, %d given.", SCM_ARGCNT + Scm_Length(SCM_ARGREF(SCM_ARGCNT-1)) - 1);
  sig_scm = SCM_ARGREF(0);
  sig = (sig_scm);
  proc_scm = SCM_ARGREF(1);
  proc = (proc_scm);
  if (SCM_ARGCNT > 2+1) {
    mask_scm = SCM_ARGREF(2);
  } else {
    mask_scm = SCM_FALSE;
  }
  if (!SCM_MAYBE_P(SCM_SYS_SIGSET_P, mask_scm)) Scm_Error("<sys-sigset> or #f required, but got %S", mask_scm);
  mask = SCM_MAYBE(SCM_SYS_SIGSET, mask_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_SetSignalHandler(sig,proc,mask));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_set_signal_handlerX__STUB, 2, 2,SCM_OBJ(&scm__sc.d1003[29]),syslib_set_signal_handlerX, NULL, NULL);

static ScmObj syslib_get_signal_handler(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj sig_scm;
  int sig;
  SCM_ENTER_SUBR("get-signal-handler");
  sig_scm = SCM_ARGREF(0);
  if (!SCM_INTP(sig_scm)) Scm_Error("small integer required, but got %S", sig_scm);
  sig = SCM_INT_VALUE(sig_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_GetSignalHandler(sig));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_get_signal_handler__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[30]),SCM_SUBR_IMMEDIATE_ARG, syslib_get_signal_handler, NULL, NULL);

static ScmObj syslib_get_signal_handler_mask(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj sig_scm;
  int sig;
  SCM_ENTER_SUBR("get-signal-handler-mask");
  sig_scm = SCM_ARGREF(0);
  if (!SCM_INTP(sig_scm)) Scm_Error("small integer required, but got %S", sig_scm);
  sig = SCM_INT_VALUE(sig_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_GetSignalHandlerMask(sig));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_get_signal_handler_mask__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[31]),SCM_SUBR_IMMEDIATE_ARG, syslib_get_signal_handler_mask, NULL, NULL);

static ScmObj syslib_get_signal_handlers(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("get-signal-handlers");
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_GetSignalHandlers());
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_get_signal_handlers__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[32]),SCM_SUBR_IMMEDIATE_ARG, syslib_get_signal_handlers, NULL, NULL);

static ScmObj syslib_set_signal_pending_limit(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj limit_scm;
  int limit;
  SCM_ENTER_SUBR("set-signal-pending-limit");
  limit_scm = SCM_ARGREF(0);
  if (!SCM_INTP(limit_scm)) Scm_Error("small integer required, but got %S", limit_scm);
  limit = SCM_INT_VALUE(limit_scm);
  {
Scm_SetSignalPendingLimit(limit);
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_set_signal_pending_limit__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[33]),SCM_SUBR_IMMEDIATE_ARG, syslib_set_signal_pending_limit, NULL, NULL);

static ScmObj syslib_get_signal_pending_limit(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("get-signal-pending-limit");
  {
{
int SCM_RESULT;
SCM_RESULT=(Scm_GetSignalPendingLimit());
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_get_signal_pending_limit__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[34]),SCM_SUBR_IMMEDIATE_ARG, syslib_get_signal_pending_limit, NULL, NULL);

static ScmObj syslib_sys_sigmask(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj how_scm;
  int how;
  ScmObj mask_scm;
  ScmSysSigset* mask;
  SCM_ENTER_SUBR("sys-sigmask");
  how_scm = SCM_ARGREF(0);
  if (!SCM_INTP(how_scm)) Scm_Error("small integer required, but got %S", how_scm);
  how = SCM_INT_VALUE(how_scm);
  mask_scm = SCM_ARGREF(1);
  if (!SCM_MAYBE_P(SCM_SYS_SIGSET_P, mask_scm)) Scm_Error("<sys-sigset> or #f required, but got %S", mask_scm);
  mask = SCM_MAYBE(SCM_SYS_SIGSET, mask_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_SysSigmask(how,mask));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_sigmask__STUB, 2, 0,0, SCM_OBJ(&scm__sc.d1003[38]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_sigmask, NULL, NULL);

static ScmObj syslib_sys_sigsuspend(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj mask_scm;
  ScmSysSigset* mask;
  SCM_ENTER_SUBR("sys-sigsuspend");
  mask_scm = SCM_ARGREF(0);
  if (!SCM_SYS_SIGSET_P(mask_scm)) Scm_Error("<sys-sigset> required, but got %S", mask_scm);
  mask = SCM_SYS_SIGSET(mask_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_SigSuspend(mask));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_sigsuspend__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[39]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_sigsuspend, NULL, NULL);

#if defined HAVE_SIGWAIT
static ScmObj syslib_sys_sigwait(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj mask_scm;
  ScmSysSigset* mask;
  SCM_ENTER_SUBR("sys-sigwait");
  mask_scm = SCM_ARGREF(0);
  if (!SCM_SYS_SIGSET_P(mask_scm)) Scm_Error("<sys-sigset> required, but got %S", mask_scm);
  mask = SCM_SYS_SIGSET(mask_scm);
  {
{
int SCM_RESULT;
SCM_RESULT=(Scm_SigWait(mask));
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_sigwait__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1263[0]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_sigwait, NULL, NULL);

#endif /* defined HAVE_SIGWAIT */
static ScmObj syslib_sys_remove(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj filename_scm;
  const char * filename;
  SCM_ENTER_SUBR("sys-remove");
  filename_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(filename_scm)) Scm_Error("const C string required, but got %S", filename_scm);
  filename = SCM_STRING_CONST_CSTRING(filename_scm);
  {

#line 318 "syslib.stub"
{int r;
SCM_SYSCALL(r,remove(filename));
if ((r)<(0)){{Scm_SysError("remove failed on %s",filename);}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_remove__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[40]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_remove, NULL, NULL);

static ScmObj syslib_sys_rename(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj oldname_scm;
  const char * oldname;
  ScmObj newname_scm;
  const char * newname;
  SCM_ENTER_SUBR("sys-rename");
  oldname_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(oldname_scm)) Scm_Error("const C string required, but got %S", oldname_scm);
  oldname = SCM_STRING_CONST_CSTRING(oldname_scm);
  newname_scm = SCM_ARGREF(1);
  if (!SCM_STRINGP(newname_scm)) Scm_Error("const C string required, but got %S", newname_scm);
  newname = SCM_STRING_CONST_CSTRING(newname_scm);
  {

#line 324 "syslib.stub"
{int r;
#if defined(GAUCHE_WINDOWS)

#line 330 "syslib.stub"
{chmod(newname,438);unlink(newname);}
#endif /* defined(GAUCHE_WINDOWS) */

#line 331 "syslib.stub"
SCM_SYSCALL(r,rename(oldname,newname));
if ((r)<(0)){{Scm_SysError("renaming %s to %s failed",oldname,newname);}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_rename__STUB, 2, 0,0, SCM_OBJ(&scm__sc.d1003[41]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_rename, NULL, NULL);

static ScmObj syslib_sys_tmpnam(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-tmpnam");
  {
{
ScmObj SCM_RESULT;

#line 337 "syslib.stub"
#if HAVE_MKSTEMP

#line 338 "syslib.stub"
{char nam[]="/tmp/fileXXXXXX";int fd;
SCM_SYSCALL(fd,mkstemp(nam));
if ((fd)<(0)){{Scm_SysError("mkstemp failed");}}
close(fd);
unlink(nam);
SCM_RESULT=(SCM_MAKE_STR_COPYING(nam));}
#else  /* !HAVE_MKSTEMP */

#line 344 "syslib.stub"
{char* s=tmpnam(NULL);
SCM_RESULT=(SCM_MAKE_STR_COPYING(s));}
#endif /* HAVE_MKSTEMP */

SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_tmpnam__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[42]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_tmpnam, NULL, NULL);

static ScmObj syslib_sys_mkstemp(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj template_scm;
  ScmString* template;
  SCM_ENTER_SUBR("sys-mkstemp");
  template_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(template_scm)) Scm_Error("string required, but got %S", template_scm);
  template = SCM_STRING(template_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_SysMkstemp(template));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_mkstemp__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[43]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_mkstemp, NULL, NULL);

static ScmObj syslib_sys_exit(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj code_scm;
  int code;
  SCM_ENTER_SUBR("sys-exit");
  code_scm = SCM_ARGREF(0);
  if (!SCM_INTP(code_scm)) Scm_Error("small integer required, but got %S", code_scm);
  code = SCM_INT_VALUE(code_scm);
  {
_exit(code);
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_exit__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[44]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_exit, NULL, NULL);

static ScmObj syslib_sys_getenv(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj name_scm;
  const char * name;
  SCM_ENTER_SUBR("sys-getenv");
  name_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(name_scm)) Scm_Error("const C string required, but got %S", name_scm);
  name = SCM_STRING_CONST_CSTRING(name_scm);
  {
{
const char * SCM_RESULT;
SCM_RESULT=(getenv(name));
SCM_RETURN(SCM_MAKE_MAYBE(SCM_MAKE_STR_COPYING, SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_getenv__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[45]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_getenv, NULL, NULL);

static ScmObj syslib_sys_system(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj command_scm;
  const char * command;
  SCM_ENTER_SUBR("sys-system");
  command_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(command_scm)) Scm_Error("const C string required, but got %S", command_scm);
  command = SCM_STRING_CONST_CSTRING(command_scm);
  {
{
int SCM_RESULT;

#line 361 "syslib.stub"
if (((command)[0])==(0)){
SCM_RESULT=(0);} else {
SCM_SYSCALL(SCM_RESULT,system(command));}
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_system__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[46]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_system, NULL, NULL);

static ScmObj syslib_sys_random(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-random");
  {
{
long SCM_RESULT;

#line 366 "syslib.stub"
#if 0 /*dummy*/
#elif defined(HAVE_RANDOM) && defined(HAVE_SRANDOM)

#line 367 "syslib.stub"
SCM_RESULT=(random());
#elif defined(LRAND48) && defined(SRAND48)

#line 369 "syslib.stub"
SCM_RESULT=(lrand48());
#else

#line 373 "syslib.stub"
SCM_RESULT=(rand());
#endif

SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_random__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[47]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_random, NULL, NULL);

static ScmObj syslib_sys_srandom(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj seed_scm;
  ScmObj seed;
  SCM_ENTER_SUBR("sys-srandom");
  seed_scm = SCM_ARGREF(0);
  seed = (seed_scm);
  {

#line 376 "syslib.stub"
if (!(SCM_EXACTP(seed))){{Scm_Error("exact integer required: %S",seed);}}

#line 377 "syslib.stub"
#if 0 /*dummy*/
#elif defined(HAVE_RANDOM) && defined(HAVE_SRANDOM)

#line 378 "syslib.stub"
srandom(Scm_GetUInteger(seed));
#elif defined(LRAND48) && defined(SRAND48)

#line 380 "syslib.stub"
srand48(Scm_GetUInteger(seed));
#else

#line 384 "syslib.stub"
srand(Scm_GetUInteger(seed));
#endif

SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBR(syslib_sys_srandom__STUB, 1, 0,SCM_OBJ(&scm__sc.d1003[48]),syslib_sys_srandom, NULL, NULL);

static ScmObj syslib_sys_strerror(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj errno__scm;
  int errno_;
  SCM_ENTER_SUBR("sys-strerror");
  errno__scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(errno__scm)) Scm_Error("C integer required, but got %S", errno__scm);
  errno_ = Scm_GetInteger(errno__scm);
  {
{
const char * SCM_RESULT;
SCM_RESULT=(strerror(errno_));
SCM_RETURN(SCM_MAKE_STR_COPYING(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_strerror__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[50]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_strerror, NULL, NULL);

#if defined(HAVE_SYS_RESOURCE_H)

#if SIZEOF_RLIM_T == 4
#  define MAKERLIMIT(val)  Scm_MakeIntegerU(val)
#  define GETRLIMIT(obj)   Scm_GetIntegerU(obj)
#elif SIZEOF_RLIM_T == 8
#  define MAKERLIMIT(val)  Scm_MakeIntegerU64(val)
#  define GETRLIMIT(obj)   Scm_GetIntegerU64(obj)
#else
#  error "rlim_t must be 32bit or 64bit"
#endif

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#if defined(HAVE_SYS_RESOURCE_H)
static ScmObj syslib_sys_getrlimit(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj rsrc_scm;
  int rsrc;
  SCM_ENTER_SUBR("sys-getrlimit");
  rsrc_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(rsrc_scm)) Scm_Error("C integer required, but got %S", rsrc_scm);
  rsrc = Scm_GetInteger(rsrc_scm);
  {
ScmObj SCM_RESULT0;
ScmObj SCM_RESULT1;
{

#line 412 "syslib.stub"
{struct rlimit limit;int ret;
SCM_SYSCALL(ret,getrlimit(rsrc,&(limit)));
if ((ret)<(0)){{Scm_SysError("getrlimit failed");}}
SCM_RESULT0=(MAKERLIMIT((limit).rlim_cur)),SCM_RESULT1=(
MAKERLIMIT((limit).rlim_max));}
}
SCM_RETURN(Scm_Values2(SCM_OBJ_SAFE(SCM_RESULT0),SCM_OBJ_SAFE(SCM_RESULT1)));
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_getrlimit__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1264[0]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_getrlimit, NULL, NULL);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#if defined(HAVE_SYS_RESOURCE_H)
static ScmObj syslib_sys_setrlimit(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj rsrc_scm;
  int rsrc;
  ScmObj cur_scm;
  ScmObj cur;
  ScmObj max_scm;
  ScmObj max;
  SCM_ENTER_SUBR("sys-setrlimit");
  if (SCM_ARGCNT >= 4
      && !SCM_NULLP(SCM_ARGREF(SCM_ARGCNT-1)))
    Scm_Error("too many arguments: up to 3 is expected, %d given.", SCM_ARGCNT + Scm_Length(SCM_ARGREF(SCM_ARGCNT-1)) - 1);
  rsrc_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(rsrc_scm)) Scm_Error("C integer required, but got %S", rsrc_scm);
  rsrc = Scm_GetInteger(rsrc_scm);
  cur_scm = SCM_ARGREF(1);
  cur = (cur_scm);
  if (SCM_ARGCNT > 2+1) {
    max_scm = SCM_ARGREF(2);
  } else {
    max_scm = SCM_FALSE;
  }
  max = (max_scm);
  {

#line 419 "syslib.stub"
{struct rlimit limit;int ret;
if ((SCM_FALSEP(cur))||(SCM_FALSEP(max))){{
SCM_SYSCALL(ret,getrlimit(rsrc,&(limit)));
if ((ret)<(0)){{Scm_SysError("getrlimit in sys-setrlimit failed");}}}}
if (SCM_INTEGERP(cur)){(limit).rlim_cur=(GETRLIMIT(cur));}else if(
!(SCM_FALSEP(cur))){
SCM_TYPE_ERROR(cur,"non-negative integer or #f");}
if (SCM_INTEGERP(max)){(limit).rlim_max=(GETRLIMIT(max));}else if(
!(SCM_FALSEP(max))){
SCM_TYPE_ERROR(max,"non-negative integer or #f");}
SCM_SYSCALL(ret,setrlimit(rsrc,&(limit)));
if ((ret)<(0)){{Scm_SysError("setrlimit failed");}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBR(syslib_sys_setrlimit__STUB, 2, 2,SCM_OBJ(&scm__sc.d1264[1]),syslib_sys_setrlimit, NULL, NULL);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#if defined(GAUCHE_WINDOWS)
static const char* check_trailing_separator(const char* path){{
#line 475 "syslib.stub"
{int size=strlen(path);const char* ends=
(path)+(size);const char* lastchar;
#line 478 "syslib.stub"
SCM_CHAR_BACKWARD(ends,path,lastchar);
if (!(((lastchar)>=(path))&&((lastchar)<(ends)))){{
Scm_SysError("invalid pathname: %s",path);}}
if (((!((lastchar)==(path)))&&(
!(((lastchar)==((path)+(2)))&&(
((path)[1])==('\x3a')))))&&(
((*(lastchar))==('\\'))||(
(*(lastchar))==('\x2f')))){{
{char * pcopy=SCM_NEW_ATOMIC_ARRAY(char ,size);
memcpy(pcopy,path,(size)-(1));
(pcopy)[(size)-(1)]=(0);
path=(((const char * )(pcopy)));}}}
return (path);}}}
#endif /* defined(GAUCHE_WINDOWS) */
#if !defined(GAUCHE_WINDOWS)
static const char* check_trailing_separator(const char* path){{
#line 493 "syslib.stub"
return (path);}}
#endif /* !defined(GAUCHE_WINDOWS) */
static ScmObj syslib_sys_stat(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj path_scm;
  const char * path;
  SCM_ENTER_SUBR("sys-stat");
  path_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(path_scm)) Scm_Error("const C string required, but got %S", path_scm);
  path = SCM_STRING_CONST_CSTRING(path_scm);
  {
{
ScmSysStat* SCM_RESULT;

#line 495 "syslib.stub"
{ScmSysStat* s=SCM_SYS_STAT(Scm_MakeSysStat());int r;const char* p=check_trailing_separator(path);SCM_SYSCALL(r,stat(p,SCM_SYS_STAT_STAT(s)));if ((r)<(0)){{Scm_SysError("%s failed for %s","stat",p);}}SCM_RESULT=(s);}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_stat__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[51]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_stat, NULL, NULL);

#if !defined(GAUCHE_WINDOWS)
static ScmObj syslib_sys_lstat(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj path_scm;
  const char * path;
  SCM_ENTER_SUBR("sys-lstat");
  path_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(path_scm)) Scm_Error("const C string required, but got %S", path_scm);
  path = SCM_STRING_CONST_CSTRING(path_scm);
  {
{
ScmSysStat* SCM_RESULT;

#line 504 "syslib.stub"
{ScmSysStat* s=SCM_SYS_STAT(Scm_MakeSysStat());int r;const char* p=check_trailing_separator(path);SCM_SYSCALL(r,lstat(p,SCM_SYS_STAT_STAT(s)));if ((r)<(0)){{Scm_SysError("%s failed for %s","lstat",p);}}SCM_RESULT=(s);}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_lstat__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1302[0]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_lstat, NULL, NULL);

#endif /* !defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj syslib_sys_lstat(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj path_scm;
  const char * path;
  SCM_ENTER_SUBR("sys-lstat");
  path_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(path_scm)) Scm_Error("const C string required, but got %S", path_scm);
  path = SCM_STRING_CONST_CSTRING(path_scm);
  {
{
ScmSysStat* SCM_RESULT;

#line 507 "syslib.stub"
{ScmSysStat* s=SCM_SYS_STAT(Scm_MakeSysStat());int r;const char* p=check_trailing_separator(path);SCM_SYSCALL(r,stat(p,SCM_SYS_STAT_STAT(s)));if ((r)<(0)){{Scm_SysError("%s failed for %s","stat",p);}}SCM_RESULT=(s);}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_lstat__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1303[0]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_lstat, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
static ScmObj syslib_sys_fstat(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj port_or_fd_scm;
  ScmObj port_or_fd;
  SCM_ENTER_SUBR("sys-fstat");
  port_or_fd_scm = SCM_ARGREF(0);
  port_or_fd = (port_or_fd_scm);
  {
{
ScmObj SCM_RESULT;

#line 510 "syslib.stub"
{ScmSysStat* s=SCM_SYS_STAT(Scm_MakeSysStat());int fd=
Scm_GetPortFd(port_or_fd,FALSE);int r;
#line 513 "syslib.stub"
if ((fd)<(0)){SCM_RESULT=(SCM_FALSE);} else {
SCM_SYSCALL(r,fstat(fd,SCM_SYS_STAT_STAT(s)));
if ((r)<(0)){{Scm_SysError("fstat failed for %d",fd);}}
SCM_RESULT=(SCM_OBJ(s));}}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_fstat__STUB, 1, 0,SCM_OBJ(&scm__sc.d1003[52]),syslib_sys_fstat, NULL, NULL);

static ScmObj syslib_sys_wait(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-wait");
  {
{
ScmObj SCM_RESULT;

#line 522 "syslib.stub"
SCM_RESULT=(Scm_SysWait(SCM_MAKE_INT(-1),0));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_wait__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[53]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_wait, NULL, NULL);

static ScmObj syslib_sys_waitpid(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj process_scm;
  ScmObj process;
  ScmObj nohang_scm = SCM_FALSE;
  ScmObj nohang;
  ScmObj untraced_scm = SCM_FALSE;
  ScmObj untraced;
  ScmObj SCM_OPTARGS = SCM_ARGREF(SCM_ARGCNT-1);
  SCM_ENTER_SUBR("sys-waitpid");
  process_scm = SCM_ARGREF(0);
  process = (process_scm);
  if (Scm_Length(SCM_OPTARGS) % 2)
    Scm_Error("keyword list not even: %S", SCM_OPTARGS);
  while (!SCM_NULLP(SCM_OPTARGS)) {
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[13])) {
      nohang_scm = SCM_CADR(SCM_OPTARGS);
    } else 
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[14])) {
      untraced_scm = SCM_CADR(SCM_OPTARGS);
    }
    else Scm_Warn("unknown keyword %S", SCM_CAR(SCM_OPTARGS));
    SCM_OPTARGS = SCM_CDDR(SCM_OPTARGS);
  }
  nohang = (nohang_scm);
  untraced = (untraced_scm);
  {
{
ScmObj SCM_RESULT;

#line 525 "syslib.stub"
{int options=0;
if (!(SCM_FALSEP(nohang))){{(options)|=(WNOHANG);}}
if (!(SCM_FALSEP(untraced))){{(options)|=(WUNTRACED);}}
SCM_RESULT=(Scm_SysWait(process,options));}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_waitpid__STUB, 1, 1,SCM_OBJ(&scm__sc.d1003[56]),syslib_sys_waitpid, NULL, NULL);

static ScmObj syslib_sys_wait_exitedP(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj status_scm;
  int status;
  SCM_ENTER_SUBR("sys-wait-exited?");
  status_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(status_scm)) Scm_Error("C integer required, but got %S", status_scm);
  status = Scm_GetInteger(status_scm);
  {
{
int SCM_RESULT;
SCM_RESULT=(WIFEXITED(status));
SCM_RETURN(SCM_MAKE_BOOL(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_wait_exitedP__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[57]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_wait_exitedP, NULL, NULL);

static ScmObj syslib_sys_wait_exit_status(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj status_scm;
  int status;
  SCM_ENTER_SUBR("sys-wait-exit-status");
  status_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(status_scm)) Scm_Error("C integer required, but got %S", status_scm);
  status = Scm_GetInteger(status_scm);
  {
{
int SCM_RESULT;
SCM_RESULT=(WEXITSTATUS(status));
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_wait_exit_status__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[58]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_wait_exit_status, NULL, NULL);

static ScmObj syslib_sys_wait_signaledP(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj status_scm;
  int status;
  SCM_ENTER_SUBR("sys-wait-signaled?");
  status_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(status_scm)) Scm_Error("C integer required, but got %S", status_scm);
  status = Scm_GetInteger(status_scm);
  {
{
int SCM_RESULT;
SCM_RESULT=(WIFSIGNALED(status));
SCM_RETURN(SCM_MAKE_BOOL(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_wait_signaledP__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[59]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_wait_signaledP, NULL, NULL);

static ScmObj syslib_sys_wait_termsig(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj status_scm;
  int status;
  SCM_ENTER_SUBR("sys-wait-termsig");
  status_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(status_scm)) Scm_Error("C integer required, but got %S", status_scm);
  status = Scm_GetInteger(status_scm);
  {
{
int SCM_RESULT;
SCM_RESULT=(WTERMSIG(status));
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_wait_termsig__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[60]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_wait_termsig, NULL, NULL);

static ScmObj syslib_sys_wait_stoppedP(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj status_scm;
  int status;
  SCM_ENTER_SUBR("sys-wait-stopped?");
  status_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(status_scm)) Scm_Error("C integer required, but got %S", status_scm);
  status = Scm_GetInteger(status_scm);
  {
{
int SCM_RESULT;
SCM_RESULT=(WIFSTOPPED(status));
SCM_RETURN(SCM_MAKE_BOOL(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_wait_stoppedP__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[61]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_wait_stoppedP, NULL, NULL);

static ScmObj syslib_sys_wait_stopsig(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj status_scm;
  int status;
  SCM_ENTER_SUBR("sys-wait-stopsig");
  status_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(status_scm)) Scm_Error("C integer required, but got %S", status_scm);
  status = Scm_GetInteger(status_scm);
  {
{
int SCM_RESULT;
SCM_RESULT=(WSTOPSIG(status));
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_wait_stopsig__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[62]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_wait_stopsig, NULL, NULL);

static ScmObj syslib_sys_time(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-time");
  {
{
ScmObj SCM_RESULT;

#line 545 "syslib.stub"
SCM_RESULT=(Scm_MakeSysTime(time(NULL)));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_time__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[63]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_time, NULL, NULL);

static ScmObj syslib_sys_gettimeofday(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-gettimeofday");
  {
u_long SCM_RESULT0;
u_long SCM_RESULT1;
{

#line 548 "syslib.stub"
Scm_GetTimeOfDay(&(SCM_RESULT0),&(SCM_RESULT1));
}
SCM_RETURN(Scm_Values2(Scm_MakeIntegerFromUI(SCM_RESULT0),Scm_MakeIntegerFromUI(SCM_RESULT1)));
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_gettimeofday__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[64]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_gettimeofday, NULL, NULL);

static ScmObj syslib_current_microseconds(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("current-microseconds");
  {
{
long SCM_RESULT;
SCM_RESULT=(Scm_CurrentMicroseconds());
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_current_microseconds__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[65]),SCM_SUBR_IMMEDIATE_ARG, syslib_current_microseconds, NULL, NULL);

static ScmObj syslib_current_time(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("current-time");
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_CurrentTime());
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_current_time__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[66]),SCM_SUBR_IMMEDIATE_ARG, syslib_current_time, NULL, NULL);

static ScmObj syslib_timeP(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj obj_scm;
  ScmObj obj;
  SCM_ENTER_SUBR("time?");
  obj_scm = SCM_ARGREF(0);
  obj = (obj_scm);
  {
{
int SCM_RESULT;
SCM_RESULT=(SCM_TIMEP(obj));
SCM_RETURN(SCM_MAKE_BOOL(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_timeP__STUB, 1, 0,SCM_OBJ(&scm__sc.d1003[67]),syslib_timeP, NULL, NULL);

static ScmObj syslib_time_TOseconds(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj t_scm;
  ScmTime* t;
  SCM_ENTER_SUBR("time->seconds");
  t_scm = SCM_ARGREF(0);
  if (!SCM_TIMEP(t_scm)) Scm_Error("<time> required, but got %S", t_scm);
  t = SCM_TIME(t_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_TimeToSeconds(t));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_time_TOseconds__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[68]),SCM_SUBR_IMMEDIATE_ARG, syslib_time_TOseconds, NULL, NULL);

static ScmObj syslib_seconds_TOtime(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj t_scm;
  double t;
  SCM_ENTER_SUBR("seconds->time");
  t_scm = SCM_ARGREF(0);
  if (!SCM_REALP(t_scm)) Scm_Error("real number required, but got %S", t_scm);
  t = Scm_GetDouble(t_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_RealSecondsToTime(t));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_seconds_TOtime__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[69]),SCM_SUBR_IMMEDIATE_ARG, syslib_seconds_TOtime, NULL, NULL);

static ScmObj syslib_sys_asctime(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj tm_scm;
  ScmSysTm* tm;
  SCM_ENTER_SUBR("sys-asctime");
  tm_scm = SCM_ARGREF(0);
  if (!SCM_SYS_TM_P(tm_scm)) Scm_Error("<sys-tm> required, but got %S", tm_scm);
  tm = SCM_SYS_TM(tm_scm);
  {
{
ScmObj SCM_RESULT;

#line 566 "syslib.stub"
SCM_RESULT=(SCM_MAKE_STR_COPYING(asctime(&(SCM_SYS_TM_TM(tm)))));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_asctime__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[70]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_asctime, NULL, NULL);

static ScmObj syslib_sys_ctime(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj time_scm;
  ScmObj time;
  SCM_ENTER_SUBR("sys-ctime");
  time_scm = SCM_ARGREF(0);
  time = (time_scm);
  {
{
const char * SCM_RESULT;

#line 569 "syslib.stub"
{time_t tim=Scm_GetSysTime(time);SCM_RESULT=(ctime(&(tim)));}
SCM_RETURN(SCM_MAKE_STR_COPYING(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_ctime__STUB, 1, 0,SCM_OBJ(&scm__sc.d1003[71]),syslib_sys_ctime, NULL, NULL);

static ScmObj syslib_sys_difftime(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj time1_scm;
  ScmObj time1;
  ScmObj time0_scm;
  ScmObj time0;
  SCM_ENTER_SUBR("sys-difftime");
  time1_scm = SCM_ARGREF(0);
  time1 = (time1_scm);
  time0_scm = SCM_ARGREF(1);
  time0 = (time0_scm);
  {
{
double SCM_RESULT;

#line 572 "syslib.stub"
SCM_RESULT=(difftime(Scm_GetSysTime(time1),Scm_GetSysTime(time0)));
SCM_RETURN(Scm_VMReturnFlonum(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_difftime__STUB, 2, 0,SCM_OBJ(&scm__sc.d1003[72]),syslib_sys_difftime, NULL, NULL);

static ScmObj syslib_sys_strftime(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj format_scm;
  const char * format;
  ScmObj tm_scm;
  ScmSysTm* tm;
  SCM_ENTER_SUBR("sys-strftime");
  format_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(format_scm)) Scm_Error("const C string required, but got %S", format_scm);
  format = SCM_STRING_CONST_CSTRING(format_scm);
  tm_scm = SCM_ARGREF(1);
  if (!SCM_SYS_TM_P(tm_scm)) Scm_Error("<sys-tm> required, but got %S", tm_scm);
  tm = SCM_SYS_TM(tm_scm);
  {
{
const char * SCM_RESULT;

#line 576 "syslib.stub"
{char tmpbuf[256];
strftime(tmpbuf,sizeof(tmpbuf),format,&(SCM_SYS_TM_TM(tm)));
SCM_RESULT=(tmpbuf);}
SCM_RETURN(SCM_MAKE_STR_COPYING(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_strftime__STUB, 2, 0,0, SCM_OBJ(&scm__sc.d1003[73]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_strftime, NULL, NULL);

static ScmObj syslib_sys_gmtime(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj time_scm;
  ScmObj time;
  SCM_ENTER_SUBR("sys-gmtime");
  time_scm = SCM_ARGREF(0);
  time = (time_scm);
  {
{
ScmObj SCM_RESULT;

#line 581 "syslib.stub"
{time_t tim=Scm_GetSysTime(time);
SCM_RESULT=(Scm_MakeSysTm(gmtime(&(tim))));}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_gmtime__STUB, 1, 0,SCM_OBJ(&scm__sc.d1003[74]),syslib_sys_gmtime, NULL, NULL);

static ScmObj syslib_sys_localtime(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj time_scm;
  ScmObj time;
  SCM_ENTER_SUBR("sys-localtime");
  time_scm = SCM_ARGREF(0);
  time = (time_scm);
  {
{
ScmObj SCM_RESULT;

#line 585 "syslib.stub"
{time_t tim=Scm_GetSysTime(time);
SCM_RESULT=(Scm_MakeSysTm(localtime(&(tim))));}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_localtime__STUB, 1, 0,SCM_OBJ(&scm__sc.d1003[75]),syslib_sys_localtime, NULL, NULL);

static ScmObj syslib_sys_mktime(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj tm_scm;
  ScmSysTm* tm;
  SCM_ENTER_SUBR("sys-mktime");
  tm_scm = SCM_ARGREF(0);
  if (!SCM_SYS_TM_P(tm_scm)) Scm_Error("<sys-tm> required, but got %S", tm_scm);
  tm = SCM_SYS_TM(tm_scm);
  {
{
ScmObj SCM_RESULT;

#line 589 "syslib.stub"
SCM_RESULT=(Scm_MakeSysTime(mktime(&(SCM_SYS_TM_TM(tm)))));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_mktime__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[76]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_mktime, NULL, NULL);

static ScmObj syslib_sys_access(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj pathname_scm;
  const char * pathname;
  ScmObj amode_scm;
  int amode;
  SCM_ENTER_SUBR("sys-access");
  pathname_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(pathname_scm)) Scm_Error("const C string required, but got %S", pathname_scm);
  pathname = SCM_STRING_CONST_CSTRING(pathname_scm);
  amode_scm = SCM_ARGREF(1);
  if (!SCM_INTEGERP(amode_scm)) Scm_Error("C integer required, but got %S", amode_scm);
  amode = Scm_GetInteger(amode_scm);
  {
{
int SCM_RESULT;

#line 600 "syslib.stub"
{int r;
if (Scm_IsSugid()){{
Scm_Error("cannot use sys-access in suid/sgid program.");}}
SCM_SYSCALL(r,access(pathname,amode));
SCM_RESULT=((r)==(0));}
SCM_RETURN(SCM_MAKE_BOOL(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_access__STUB, 2, 0,0, SCM_OBJ(&scm__sc.d1003[81]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_access, NULL, NULL);

static ScmObj syslib_sys_chdir(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj pathname_scm;
  const char * pathname;
  SCM_ENTER_SUBR("sys-chdir");
  pathname_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(pathname_scm)) Scm_Error("const C string required, but got %S", pathname_scm);
  pathname = SCM_STRING_CONST_CSTRING(pathname_scm);
  {

#line 607 "syslib.stub"
{int r;
SCM_SYSCALL(r,chdir(pathname));
if ((r)<(0)){{Scm_SysError("chdir failed");}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_chdir__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[82]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_chdir, NULL, NULL);

static ScmObj syslib_sys_chmod(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj pathname_scm;
  const char * pathname;
  ScmObj mode_scm;
  int mode;
  SCM_ENTER_SUBR("sys-chmod");
  pathname_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(pathname_scm)) Scm_Error("const C string required, but got %S", pathname_scm);
  pathname = SCM_STRING_CONST_CSTRING(pathname_scm);
  mode_scm = SCM_ARGREF(1);
  if (!SCM_INTEGERP(mode_scm)) Scm_Error("C integer required, but got %S", mode_scm);
  mode = Scm_GetInteger(mode_scm);
  {

#line 612 "syslib.stub"
{int r;
SCM_SYSCALL(r,chmod(pathname,mode));
if ((r)<(0)){{Scm_SysError("chmod failed");}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_chmod__STUB, 2, 0,0, SCM_OBJ(&scm__sc.d1003[83]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_chmod, NULL, NULL);

#if !defined(GAUCHE_WINDOWS)
static ScmObj syslib_sys_fchmod(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj port_or_fd_scm;
  ScmObj port_or_fd;
  ScmObj mode_scm;
  int mode;
  SCM_ENTER_SUBR("sys-fchmod");
  port_or_fd_scm = SCM_ARGREF(0);
  port_or_fd = (port_or_fd_scm);
  mode_scm = SCM_ARGREF(1);
  if (!SCM_INTEGERP(mode_scm)) Scm_Error("C integer required, but got %S", mode_scm);
  mode = Scm_GetInteger(mode_scm);
  {

#line 618 "syslib.stub"
{int r;int fd=Scm_GetPortFd(port_or_fd,TRUE);
SCM_SYSCALL(r,fchmod(fd,mode));
if ((r)<(0)){{Scm_SysError("fchmod failed");}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBR(syslib_sys_fchmod__STUB, 2, 0,SCM_OBJ(&scm__sc.d1302[1]),syslib_sys_fchmod, NULL, NULL);

#endif /* !defined(GAUCHE_WINDOWS) */
static ScmObj syslib_sys_chown(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj path_scm;
  const char * path;
  ScmObj owner_scm;
  int owner;
  ScmObj group_scm;
  int group;
  SCM_ENTER_SUBR("sys-chown");
  path_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(path_scm)) Scm_Error("const C string required, but got %S", path_scm);
  path = SCM_STRING_CONST_CSTRING(path_scm);
  owner_scm = SCM_ARGREF(1);
  if (!SCM_INTEGERP(owner_scm)) Scm_Error("C integer required, but got %S", owner_scm);
  owner = Scm_GetInteger(owner_scm);
  group_scm = SCM_ARGREF(2);
  if (!SCM_INTEGERP(group_scm)) Scm_Error("C integer required, but got %S", group_scm);
  group = Scm_GetInteger(group_scm);
  {
{
int SCM_RESULT;

#line 626 "syslib.stub"
#if !defined(GAUCHE_WINDOWS)

#line 627 "syslib.stub"
SCM_SYSCALL(SCM_RESULT,chown(path,owner,group));
#else  /* !!defined(GAUCHE_WINDOWS) */

#line 628 "syslib.stub"
SCM_RESULT=(0);
#endif /* !defined(GAUCHE_WINDOWS) */


#line 629 "syslib.stub"
if ((SCM_RESULT)<(0)){{Scm_SysError("chown failed on %s",path);}}
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_chown__STUB, 3, 0,0, SCM_OBJ(&scm__sc.d1003[84]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_chown, NULL, NULL);

#if defined HAVE_LCHOWN
static ScmObj syslib_sys_lchown(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj path_scm;
  const char * path;
  ScmObj owner_scm;
  int owner;
  ScmObj group_scm;
  int group;
  SCM_ENTER_SUBR("sys-lchown");
  path_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(path_scm)) Scm_Error("const C string required, but got %S", path_scm);
  path = SCM_STRING_CONST_CSTRING(path_scm);
  owner_scm = SCM_ARGREF(1);
  if (!SCM_INTEGERP(owner_scm)) Scm_Error("C integer required, but got %S", owner_scm);
  owner = Scm_GetInteger(owner_scm);
  group_scm = SCM_ARGREF(2);
  if (!SCM_INTEGERP(group_scm)) Scm_Error("C integer required, but got %S", group_scm);
  group = Scm_GetInteger(group_scm);
  {
{
int SCM_RESULT;

#line 635 "syslib.stub"
SCM_SYSCALL(SCM_RESULT,lchown(path,owner,group));

#line 636 "syslib.stub"
if ((SCM_RESULT)<(0)){{Scm_SysError("lchown failed on %S",path);}}
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_lchown__STUB, 3, 0,0, SCM_OBJ(&scm__sc.d1304[0]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_lchown, NULL, NULL);

#endif /* defined HAVE_LCHOWN */
static ScmObj syslib_sys_fork(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-fork");
  {
{
int SCM_RESULT;

#line 644 "syslib.stub"
{pid_t pid;
GC_gcollect();
SCM_SYSCALL(pid,fork());
if ((pid)<(0)){{Scm_SysError("fork failed");}}
SCM_RESULT=(pid);}
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_fork__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[85]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_fork, NULL, NULL);

static ScmObj syslib_sys_exec(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj command_scm;
  ScmString* command;
  ScmObj args_scm;
  ScmObj args;
  ScmObj iomap_scm = SCM_NIL;
  ScmObj iomap;
  ScmObj sigmask_scm = SCM_FALSE;
  ScmSysSigset* sigmask;
  ScmObj directory_scm = SCM_FALSE;
  ScmString* directory;
  ScmObj detached_scm = SCM_FALSE;
  int detached;
  ScmObj SCM_OPTARGS = SCM_ARGREF(SCM_ARGCNT-1);
  SCM_ENTER_SUBR("sys-exec");
  command_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(command_scm)) Scm_Error("string required, but got %S", command_scm);
  command = SCM_STRING(command_scm);
  args_scm = SCM_ARGREF(1);
  if (!SCM_LISTP(args_scm)) Scm_Error("list required, but got %S", args_scm);
  args = (args_scm);
  if (Scm_Length(SCM_OPTARGS) % 2)
    Scm_Error("keyword list not even: %S", SCM_OPTARGS);
  while (!SCM_NULLP(SCM_OPTARGS)) {
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[19])) {
      iomap_scm = SCM_CADR(SCM_OPTARGS);
    } else 
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[20])) {
      sigmask_scm = SCM_CADR(SCM_OPTARGS);
    } else 
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[21])) {
      directory_scm = SCM_CADR(SCM_OPTARGS);
    } else 
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[22])) {
      detached_scm = SCM_CADR(SCM_OPTARGS);
    }
    else Scm_Warn("unknown keyword %S", SCM_CAR(SCM_OPTARGS));
    SCM_OPTARGS = SCM_CDDR(SCM_OPTARGS);
  }
  iomap = (iomap_scm);
  if (!SCM_MAYBE_P(SCM_SYS_SIGSET_P, sigmask_scm)) Scm_Error("<sys-sigset> or #f required, but got %S", sigmask_scm);
  sigmask = SCM_MAYBE(SCM_SYS_SIGSET, sigmask_scm);
  if (!SCM_MAYBE_P(SCM_STRINGP, directory_scm)) Scm_Error("string or #f required, but got %S", directory_scm);
  directory = SCM_MAYBE(SCM_STRING, directory_scm);
  if (!SCM_BOOLP(detached_scm)) Scm_Error("boolean required, but got %S", detached_scm);
  detached = SCM_BOOL_VALUE(detached_scm);
  {

#line 676 "syslib.stub"
{u_int flags=((detached)?(SCM_EXEC_DETACHED):(0));
Scm_SysExec(command,args,iomap,sigmask,directory,flags);}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_exec__STUB, 2, 1,0, SCM_OBJ(&scm__sc.d1003[90]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_exec, NULL, NULL);

static ScmObj syslib_sys_fork_and_exec(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj command_scm;
  ScmString* command;
  ScmObj args_scm;
  ScmObj args;
  ScmObj iomap_scm = SCM_NIL;
  ScmObj iomap;
  ScmObj sigmask_scm = SCM_FALSE;
  ScmSysSigset* sigmask;
  ScmObj directory_scm = SCM_FALSE;
  ScmString* directory;
  ScmObj detached_scm = SCM_FALSE;
  int detached;
  ScmObj SCM_OPTARGS = SCM_ARGREF(SCM_ARGCNT-1);
  SCM_ENTER_SUBR("sys-fork-and-exec");
  command_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(command_scm)) Scm_Error("string required, but got %S", command_scm);
  command = SCM_STRING(command_scm);
  args_scm = SCM_ARGREF(1);
  if (!SCM_LISTP(args_scm)) Scm_Error("list required, but got %S", args_scm);
  args = (args_scm);
  if (Scm_Length(SCM_OPTARGS) % 2)
    Scm_Error("keyword list not even: %S", SCM_OPTARGS);
  while (!SCM_NULLP(SCM_OPTARGS)) {
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[19])) {
      iomap_scm = SCM_CADR(SCM_OPTARGS);
    } else 
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[20])) {
      sigmask_scm = SCM_CADR(SCM_OPTARGS);
    } else 
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[21])) {
      directory_scm = SCM_CADR(SCM_OPTARGS);
    } else 
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[22])) {
      detached_scm = SCM_CADR(SCM_OPTARGS);
    }
    else Scm_Warn("unknown keyword %S", SCM_CAR(SCM_OPTARGS));
    SCM_OPTARGS = SCM_CDDR(SCM_OPTARGS);
  }
  iomap = (iomap_scm);
  if (!SCM_MAYBE_P(SCM_SYS_SIGSET_P, sigmask_scm)) Scm_Error("<sys-sigset> or #f required, but got %S", sigmask_scm);
  sigmask = SCM_MAYBE(SCM_SYS_SIGSET, sigmask_scm);
  if (!SCM_MAYBE_P(SCM_STRINGP, directory_scm)) Scm_Error("string or #f required, but got %S", directory_scm);
  directory = SCM_MAYBE(SCM_STRING, directory_scm);
  if (!SCM_BOOLP(detached_scm)) Scm_Error("boolean required, but got %S", detached_scm);
  detached = SCM_BOOL_VALUE(detached_scm);
  {
{
ScmObj SCM_RESULT;

#line 684 "syslib.stub"
{u_int flags=SCM_EXEC_WITH_FORK;
if (detached){{
flags=((flags)|(SCM_EXEC_DETACHED));}}
SCM_RESULT=(Scm_SysExec(command,args,iomap,sigmask,directory,flags));}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_fork_and_exec__STUB, 2, 1,0, SCM_OBJ(&scm__sc.d1003[91]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_fork_and_exec, NULL, NULL);

static ScmObj syslib_sys_getcwd(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-getcwd");
  {
{
const char * SCM_RESULT;

#line 690 "syslib.stub"
{char p[1024];
if ((getcwd(p,1023))==(NULL)){{Scm_SysError("getcwd failed");}}
SCM_RESULT=(p);}
SCM_RETURN(SCM_MAKE_STR_COPYING(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_getcwd__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[92]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_getcwd, NULL, NULL);

static ScmObj syslib_sys_getegid(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-getegid");
  {
{
int SCM_RESULT;
SCM_RESULT=(getegid());
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_getegid__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[93]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_getegid, NULL, NULL);

static ScmObj syslib_sys_getgid(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-getgid");
  {
{
int SCM_RESULT;
SCM_RESULT=(getgid());
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_getgid__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[94]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_getgid, NULL, NULL);

static ScmObj syslib_sys_geteuid(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-geteuid");
  {
{
int SCM_RESULT;
SCM_RESULT=(geteuid());
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_geteuid__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[95]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_geteuid, NULL, NULL);

static ScmObj syslib_sys_getuid(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-getuid");
  {
{
int SCM_RESULT;
SCM_RESULT=(getuid());
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_getuid__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[96]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_getuid, NULL, NULL);

static ScmObj syslib_sys_getpid(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-getpid");
  {
{
int SCM_RESULT;
SCM_RESULT=(getpid());
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_getpid__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[97]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_getpid, NULL, NULL);

static ScmObj syslib_sys_getppid(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-getppid");
  {
{
int SCM_RESULT;
SCM_RESULT=(getppid());
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_getppid__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[98]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_getppid, NULL, NULL);

static ScmObj syslib_sys_link(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj existing_scm;
  const char * existing;
  ScmObj newpath_scm;
  const char * newpath;
  SCM_ENTER_SUBR("sys-link");
  existing_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(existing_scm)) Scm_Error("const C string required, but got %S", existing_scm);
  existing = SCM_STRING_CONST_CSTRING(existing_scm);
  newpath_scm = SCM_ARGREF(1);
  if (!SCM_STRINGP(newpath_scm)) Scm_Error("const C string required, but got %S", newpath_scm);
  newpath = SCM_STRING_CONST_CSTRING(newpath_scm);
  {

#line 704 "syslib.stub"
{int r;
SCM_SYSCALL(r,link(existing,newpath));
if ((r)<(0)){{Scm_SysError("link failed");}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_link__STUB, 2, 0,0, SCM_OBJ(&scm__sc.d1003[99]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_link, NULL, NULL);

static ScmObj syslib_sys_pause(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  SCM_ENTER_SUBR("sys-pause");
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_Pause());
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_pause__STUB, 0, 0,0, SCM_OBJ(&scm__sc.d1003[100]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_pause, NULL, NULL);

static ScmObj syslib_sys_alarm(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj seconds_scm;
  int seconds;
  SCM_ENTER_SUBR("sys-alarm");
  seconds_scm = SCM_ARGREF(0);
  if (!SCM_INTP(seconds_scm)) Scm_Error("small integer required, but got %S", seconds_scm);
  seconds = SCM_INT_VALUE(seconds_scm);
  {
{
int SCM_RESULT;

#line 715 "syslib.stub"
SCM_SYSCALL(SCM_RESULT,alarm(seconds));
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_alarm__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[101]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_alarm, NULL, NULL);

static ScmObj syslib_sys_pipe(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj name_scm = SCM_OBJ(&scm__sc.d1003[102]);
  ScmObj name;
  ScmObj buffering_scm = SCM_FALSE;
  ScmObj buffering;
  ScmObj bufferedP_scm = SCM_FALSE;
  ScmObj bufferedP;
  ScmObj SCM_OPTARGS = SCM_ARGREF(SCM_ARGCNT-1);
  SCM_ENTER_SUBR("sys-pipe");
  if (Scm_Length(SCM_OPTARGS) % 2)
    Scm_Error("keyword list not even: %S", SCM_OPTARGS);
  while (!SCM_NULLP(SCM_OPTARGS)) {
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[23])) {
      name_scm = SCM_CADR(SCM_OPTARGS);
    } else 
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[24])) {
      buffering_scm = SCM_CADR(SCM_OPTARGS);
    } else 
    if (SCM_EQ(SCM_CAR(SCM_OPTARGS), scm__rc.d1004[25])) {
      bufferedP_scm = SCM_CADR(SCM_OPTARGS);
    }
    else Scm_Warn("unknown keyword %S", SCM_CAR(SCM_OPTARGS));
    SCM_OPTARGS = SCM_CDDR(SCM_OPTARGS);
  }
  name = (name_scm);
  buffering = (buffering_scm);
  bufferedP = (bufferedP_scm);
  {
ScmObj SCM_RESULT0;
ScmObj SCM_RESULT1;
{

#line 720 "syslib.stub"
{int fds[2];int mode;int r;
SCM_SYSCALL(r,pipe(fds));
if ((r)<(0)){{Scm_SysError("pipe failed");}}
if (SCM_TRUEP(bufferedP)){
mode=(SCM_PORT_BUFFER_FULL);} else {
mode=(Scm_BufferingMode(buffering,-1,SCM_PORT_BUFFER_LINE));}
SCM_RESULT0=(Scm_MakePortWithFd(name,SCM_PORT_INPUT,(fds)[0],mode,TRUE)),SCM_RESULT1=(
Scm_MakePortWithFd(name,SCM_PORT_OUTPUT,(fds)[1],mode,TRUE));}
}
SCM_RETURN(Scm_Values2(SCM_OBJ_SAFE(SCM_RESULT0),SCM_OBJ_SAFE(SCM_RESULT1)));
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_pipe__STUB, 0, 1,0, SCM_OBJ(&scm__sc.d1003[106]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_pipe, NULL, NULL);

static ScmObj syslib_sys_close(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj fd_scm;
  int fd;
  SCM_ENTER_SUBR("sys-close");
  fd_scm = SCM_ARGREF(0);
  if (!SCM_INTEGERP(fd_scm)) Scm_Error("C integer required, but got %S", fd_scm);
  fd = Scm_GetInteger(fd_scm);
  {

#line 734 "syslib.stub"
{int r;
SCM_SYSCALL(r,close(fd));
if ((r)<(0)){{Scm_SysError("close failed on file descriptor %d",fd);}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_close__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[107]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_close, NULL, NULL);

static ScmObj syslib_sys_mkdir(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj pathname_scm;
  const char * pathname;
  ScmObj mode_scm;
  int mode;
  SCM_ENTER_SUBR("sys-mkdir");
  pathname_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(pathname_scm)) Scm_Error("const C string required, but got %S", pathname_scm);
  pathname = SCM_STRING_CONST_CSTRING(pathname_scm);
  mode_scm = SCM_ARGREF(1);
  if (!SCM_INTEGERP(mode_scm)) Scm_Error("C integer required, but got %S", mode_scm);
  mode = Scm_GetInteger(mode_scm);
  {

#line 739 "syslib.stub"
{int r;
#if !defined(GAUCHE_WINDOWS)

#line 741 "syslib.stub"
SCM_SYSCALL(r,mkdir(pathname,mode));
#else  /* !!defined(GAUCHE_WINDOWS) */

#line 742 "syslib.stub"
SCM_SYSCALL(r,mkdir(pathname));
#endif /* !defined(GAUCHE_WINDOWS) */

#line 743 "syslib.stub"
if ((r)<(0)){{Scm_SysError("mkdir failed on %s",pathname);}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_mkdir__STUB, 2, 0,0, SCM_OBJ(&scm__sc.d1003[108]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_mkdir, NULL, NULL);

static ScmObj syslib_sys_rmdir(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj pathname_scm;
  const char * pathname;
  SCM_ENTER_SUBR("sys-rmdir");
  pathname_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(pathname_scm)) Scm_Error("const C string required, but got %S", pathname_scm);
  pathname = SCM_STRING_CONST_CSTRING(pathname_scm);
  {

#line 746 "syslib.stub"
{int r;
SCM_SYSCALL(r,rmdir(pathname));
if ((r)<(0)){{Scm_SysError("rmdir failed for %s",pathname);}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_rmdir__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[109]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_rmdir, NULL, NULL);

static ScmObj syslib_sys_umask(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj mode_scm;
  ScmObj mode;
  SCM_ENTER_SUBR("sys-umask");
  if (SCM_ARGCNT >= 2
      && !SCM_NULLP(SCM_ARGREF(SCM_ARGCNT-1)))
    Scm_Error("too many arguments: up to 1 is expected, %d given.", SCM_ARGCNT + Scm_Length(SCM_ARGREF(SCM_ARGCNT-1)) - 1);
  if (SCM_ARGCNT > 0+1) {
    mode_scm = SCM_ARGREF(0);
  } else {
    mode_scm = SCM_UNBOUND;
  }
  mode = (mode_scm);
  {
{
int SCM_RESULT;

#line 751 "syslib.stub"
if ((SCM_UNBOUNDP(mode))||(SCM_FALSEP(mode))){
{int prev=umask(0);
umask(prev);
SCM_RESULT=(prev);}}else if(
SCM_INTP(mode)){SCM_RESULT=(umask(SCM_INT_VALUE(mode)));} else {
SCM_TYPE_ERROR(mode,"fixnum or #f");SCM_RESULT=(0);}
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_umask__STUB, 0, 2,SCM_OBJ(&scm__sc.d1003[110]),syslib_sys_umask, NULL, NULL);

static ScmObj syslib_sys_sleep(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj seconds_scm;
  int seconds;
  SCM_ENTER_SUBR("sys-sleep");
  seconds_scm = SCM_ARGREF(0);
  if (!SCM_INTP(seconds_scm)) Scm_Error("small integer required, but got %S", seconds_scm);
  seconds = SCM_INT_VALUE(seconds_scm);
  {
{
int SCM_RESULT;

#line 759 "syslib.stub"
#if defined(GAUCHE_WINDOWS)

#line 760 "syslib.stub"
{Sleep((seconds)*(1000));SCM_RESULT=(0);}
#else  /* !defined(GAUCHE_WINDOWS) */

#line 761 "syslib.stub"
SCM_RESULT=(sleep(seconds));
#endif /* defined(GAUCHE_WINDOWS) */

SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_sleep__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[111]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_sleep, NULL, NULL);

#if defined(HAVE_NANOSLEEP) || defined(GAUCHE_WINDOWS)
static ScmObj syslib_sys_nanosleep(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj nanoseconds_scm;
  ScmObj nanoseconds;
  SCM_ENTER_SUBR("sys-nanosleep");
  nanoseconds_scm = SCM_ARGREF(0);
  nanoseconds = (nanoseconds_scm);
  {
{
ScmObj SCM_RESULT;

#line 765 "syslib.stub"
{struct timespec spec;struct timespec rem;
if (
SCM_TIMEP(nanoseconds)){
(spec).tv_sec=((SCM_TIME(nanoseconds))->sec),
(spec).tv_nsec=((SCM_TIME(nanoseconds))->nsec);}else if(
!(SCM_REALP(nanoseconds))){
Scm_Error("bad timeout spec: <time> object or real number is required, but got %S",nanoseconds);} else {
#line 774 "syslib.stub"
{double v=Scm_GetDouble(nanoseconds);
if ((v)<(0)){{
Scm_Error("bad timeout spec: positive number required, but got %S",nanoseconds);}}
#line 778 "syslib.stub"
(spec).tv_sec=(((unsigned long )(floor((v)/(1.0e9))))),
(spec).tv_nsec=(((unsigned long )(fmod(v,1.0e9))));
while(((spec).tv_nsec)>=(1000000000)){
((spec).tv_nsec)-=(1000000000);
((spec).tv_sec)+=(1);}}}
(rem).tv_sec=(0),(rem).tv_nsec=(0);
nanosleep(&(spec),&(rem));
if ((((rem).tv_sec)==(0))&&(((rem).tv_nsec)==(0))){
SCM_RESULT=(SCM_FALSE);} else {
SCM_RESULT=(Scm_MakeTime(SCM_FALSE,(rem).tv_sec,(rem).tv_nsec));}}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_nanosleep__STUB, 1, 0,SCM_OBJ(&scm__sc.d1305[0]),syslib_sys_nanosleep, NULL, NULL);

#endif /* defined(HAVE_NANOSLEEP) || defined(GAUCHE_WINDOWS) */
static ScmObj syslib_sys_unlink(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj pathname_scm;
  const char * pathname;
  SCM_ENTER_SUBR("sys-unlink");
  pathname_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(pathname_scm)) Scm_Error("const C string required, but got %S", pathname_scm);
  pathname = SCM_STRING_CONST_CSTRING(pathname_scm);
  {
{
ScmObj SCM_RESULT;

#line 792 "syslib.stub"
{int r;
#if defined(GAUCHE_WINDOWS)

#line 796 "syslib.stub"
if (!(access(pathname,F_OK))){{
chmod(pathname,384);}}
#endif /* defined(GAUCHE_WINDOWS) */

#line 798 "syslib.stub"
SCM_SYSCALL(r,unlink(pathname));
if ((r)<(0)){
if ((errno)==(ENOENT)){
SCM_RESULT=(SCM_FALSE);} else {
Scm_SysError("unlink failed on %s",pathname);}} else {
SCM_RESULT=(SCM_TRUE);}}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_unlink__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1003[112]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_unlink, NULL, NULL);

static ScmObj syslib_sys_isatty(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj port_or_fd_scm;
  ScmObj port_or_fd;
  SCM_ENTER_SUBR("sys-isatty");
  port_or_fd_scm = SCM_ARGREF(0);
  port_or_fd = (port_or_fd_scm);
  {
{
int SCM_RESULT;

#line 806 "syslib.stub"
{int fd=Scm_GetPortFd(port_or_fd,FALSE);
SCM_RESULT=(((fd)>=(0))&&(isatty(fd)));}
SCM_RETURN(SCM_MAKE_BOOL(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_isatty__STUB, 1, 0,SCM_OBJ(&scm__sc.d1003[113]),syslib_sys_isatty, NULL, NULL);

static ScmObj syslib_sys_ttyname(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj port_or_fd_scm;
  ScmObj port_or_fd;
  SCM_ENTER_SUBR("sys-ttyname");
  port_or_fd_scm = SCM_ARGREF(0);
  port_or_fd = (port_or_fd_scm);
  {
{
const char * SCM_RESULT;

#line 810 "syslib.stub"
{int fd=Scm_GetPortFd(port_or_fd,FALSE);
SCM_RESULT=((((fd)<(0))?(NULL):(ttyname(fd))));}
SCM_RETURN(SCM_MAKE_MAYBE(SCM_MAKE_STR_COPYING, SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_ttyname__STUB, 1, 0,SCM_OBJ(&scm__sc.d1003[114]),syslib_sys_ttyname, NULL, NULL);

static ScmObj syslib_sys_truncate(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj path_scm;
  const char * path;
  ScmObj length_scm;
  ScmObj length;
  SCM_ENTER_SUBR("sys-truncate");
  path_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(path_scm)) Scm_Error("const C string required, but got %S", path_scm);
  path = SCM_STRING_CONST_CSTRING(path_scm);
  length_scm = SCM_ARGREF(1);
  if (!SCM_INTEGERP(length_scm)) Scm_Error("exact integer required, but got %S", length_scm);
  length = (length_scm);
  {

#line 814 "syslib.stub"
{int r;
SCM_SYSCALL(r,truncate(path,Scm_IntegerToOffset(length)));
if ((r)<(0)){{Scm_SysError("truncate failed on %s",path);}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_truncate__STUB, 2, 0,0, SCM_OBJ(&scm__sc.d1003[115]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_truncate, NULL, NULL);

static ScmObj syslib_sys_ftruncate(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj port_or_fd_scm;
  ScmObj port_or_fd;
  ScmObj length_scm;
  ScmObj length;
  SCM_ENTER_SUBR("sys-ftruncate");
  port_or_fd_scm = SCM_ARGREF(0);
  port_or_fd = (port_or_fd_scm);
  length_scm = SCM_ARGREF(1);
  if (!SCM_INTEGERP(length_scm)) Scm_Error("exact integer required, but got %S", length_scm);
  length = (length_scm);
  {

#line 819 "syslib.stub"
{int r;int fd=Scm_GetPortFd(port_or_fd,TRUE);
SCM_SYSCALL(r,ftruncate(fd,Scm_IntegerToOffset(length)));
if ((r)<(0)){{Scm_SysError("ftruncate failed on %S",port_or_fd);}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBR(syslib_sys_ftruncate__STUB, 2, 0,SCM_OBJ(&scm__sc.d1003[116]),syslib_sys_ftruncate, NULL, NULL);

#if defined(HAVE_CRYPT)
static ScmObj syslib_sys_crypt(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj key_scm;
  const char * key;
  ScmObj salt_scm;
  const char * salt;
  SCM_ENTER_SUBR("sys-crypt");
  key_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(key_scm)) Scm_Error("const C string required, but got %S", key_scm);
  key = SCM_STRING_CONST_CSTRING(key_scm);
  salt_scm = SCM_ARGREF(1);
  if (!SCM_STRINGP(salt_scm)) Scm_Error("const C string required, but got %S", salt_scm);
  salt = SCM_STRING_CONST_CSTRING(salt_scm);
  {
{
const char * SCM_RESULT;

#line 828 "syslib.stub"
SCM_RESULT=(((const char * )(crypt(key,salt))));
SCM_RETURN(SCM_MAKE_STR_COPYING(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_crypt__STUB, 2, 0,0, SCM_OBJ(&scm__sc.d1306[0]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_crypt, NULL, NULL);

#endif /* defined(HAVE_CRYPT) */
#if defined(HAVE_SYMLINK)
static ScmObj syslib_sys_symlink(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj existing_scm;
  const char * existing;
  ScmObj newpath_scm;
  const char * newpath;
  SCM_ENTER_SUBR("sys-symlink");
  existing_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(existing_scm)) Scm_Error("const C string required, but got %S", existing_scm);
  existing = SCM_STRING_CONST_CSTRING(existing_scm);
  newpath_scm = SCM_ARGREF(1);
  if (!SCM_STRINGP(newpath_scm)) Scm_Error("const C string required, but got %S", newpath_scm);
  newpath = SCM_STRING_CONST_CSTRING(newpath_scm);
  {

#line 841 "syslib.stub"
{int r;
SCM_SYSCALL(r,symlink(existing,newpath));
if ((r)<(0)){{
Scm_SysError("symlink from %s to %s failed",newpath,existing);}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_symlink__STUB, 2, 0,0, SCM_OBJ(&scm__sc.d1307[0]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_symlink, NULL, NULL);

#endif /* defined(HAVE_SYMLINK) */
#if defined(HAVE_READLINK)
static ScmObj syslib_sys_readlink(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj path_scm;
  const char * path;
  SCM_ENTER_SUBR("sys-readlink");
  path_scm = SCM_ARGREF(0);
  if (!SCM_STRINGP(path_scm)) Scm_Error("const C string required, but got %S", path_scm);
  path = SCM_STRING_CONST_CSTRING(path_scm);
  {
{
ScmObj SCM_RESULT;

#line 850 "syslib.stub"
{char buf[1024];int n;
#line 852 "syslib.stub"
SCM_SYSCALL(n,readlink(path,buf,1024));
if ((n)<(0)){{Scm_SysError("readlink failed on %s",path);}}
if ((n)==(1024)){{Scm_Error("readlink result too long on %s",path);}}
SCM_RESULT=(Scm_MakeString(buf,n,-1,SCM_STRING_COPYING));}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_readlink__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1308[0]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_readlink, NULL, NULL);

#endif /* defined(HAVE_READLINK) */
#if defined(HAVE_SELECT)
static ScmObj syslib_sys_fdset_ref(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj fdset_scm;
  ScmSysFdset* fdset;
  ScmObj pf_scm;
  ScmObj pf;
  SCM_ENTER_SUBR("sys-fdset-ref");
  fdset_scm = SCM_ARGREF(0);
  if (!SCM_SYS_FDSET_P(fdset_scm)) Scm_Error("<sys-fdset> required, but got %S", fdset_scm);
  fdset = SCM_SYS_FDSET(fdset_scm);
  pf_scm = SCM_ARGREF(1);
  pf = (pf_scm);
  {
{
int SCM_RESULT;

#line 867 "syslib.stub"
{int fd=Scm_GetPortFd(pf,FALSE);
SCM_RESULT=((((fd)<(0))?(TRUE):(FD_ISSET(fd,&((fdset)->fdset)))));}
SCM_RETURN(SCM_MAKE_BOOL(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_fdset_ref__STUB, 2, 0,SCM_OBJ(&scm__sc.d1309[0]),syslib_sys_fdset_ref, NULL, NULL);

#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
static ScmObj syslib_sys_fdset_setX(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj fdset_scm;
  ScmSysFdset* fdset;
  ScmObj pf_scm;
  ScmObj pf;
  ScmObj flag_scm;
  int flag;
  SCM_ENTER_SUBR("sys-fdset-set!");
  fdset_scm = SCM_ARGREF(0);
  if (!SCM_SYS_FDSET_P(fdset_scm)) Scm_Error("<sys-fdset> required, but got %S", fdset_scm);
  fdset = SCM_SYS_FDSET(fdset_scm);
  pf_scm = SCM_ARGREF(1);
  pf = (pf_scm);
  flag_scm = SCM_ARGREF(2);
  if (!SCM_BOOLP(flag_scm)) Scm_Error("boolean required, but got %S", flag_scm);
  flag = SCM_BOOL_VALUE(flag_scm);
  {

#line 871 "syslib.stub"
{int fd=Scm_GetPortFd(pf,FALSE);
if ((fd)>=(0)){{
if (flag){FD_SET(fd,&((fdset)->fdset));
if (((fdset)->maxfd)<(fd)){{(fdset)->maxfd=(fd);}}} else {
FD_CLR(fd,&((fdset)->fdset));
if (((fdset)->maxfd)==(fd)){{
{int i=((fdset)->maxfd)-(1);
for (; (i)>=(0); (i)--){
if (FD_ISSET(i,&((fdset)->fdset))){{break;}}}
(fdset)->maxfd=(i);}}}}}}}
SCM_RETURN(SCM_UNDEFINED);
  }
}

static SCM_DEFINE_SUBR(syslib_sys_fdset_setX__STUB, 3, 0,SCM_OBJ(&scm__sc.d1309[1]),syslib_sys_fdset_setX, NULL, NULL);

#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
static ScmObj syslib_sys_fdset_max_fd(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj fdset_scm;
  ScmSysFdset* fdset;
  SCM_ENTER_SUBR("sys-fdset-max-fd");
  fdset_scm = SCM_ARGREF(0);
  if (!SCM_SYS_FDSET_P(fdset_scm)) Scm_Error("<sys-fdset> required, but got %S", fdset_scm);
  fdset = SCM_SYS_FDSET(fdset_scm);
  {
{
int SCM_RESULT;

#line 883 "syslib.stub"
SCM_RESULT=((fdset)->maxfd);
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_fdset_max_fd__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1309[2]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_fdset_max_fd, NULL, NULL);

#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
static ScmObj syslib_sys_fdset_clearX(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj fdset_scm;
  ScmSysFdset* fdset;
  SCM_ENTER_SUBR("sys-fdset-clear!");
  fdset_scm = SCM_ARGREF(0);
  if (!SCM_SYS_FDSET_P(fdset_scm)) Scm_Error("<sys-fdset> required, but got %S", fdset_scm);
  fdset = SCM_SYS_FDSET(fdset_scm);
  {
{
ScmObj SCM_RESULT;

#line 886 "syslib.stub"
FD_ZERO(&((fdset)->fdset));

#line 887 "syslib.stub"
(fdset)->maxfd=(-1);

#line 888 "syslib.stub"
SCM_RESULT=(SCM_OBJ(fdset));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_fdset_clearX__STUB, 1, 0,0, SCM_OBJ(&scm__sc.d1309[3]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_fdset_clearX, NULL, NULL);

#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
static ScmObj syslib_sys_fdset_copyX(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj dst_scm;
  ScmSysFdset* dst;
  ScmObj src_scm;
  ScmSysFdset* src;
  SCM_ENTER_SUBR("sys-fdset-copy!");
  dst_scm = SCM_ARGREF(0);
  if (!SCM_SYS_FDSET_P(dst_scm)) Scm_Error("<sys-fdset> required, but got %S", dst_scm);
  dst = SCM_SYS_FDSET(dst_scm);
  src_scm = SCM_ARGREF(1);
  if (!SCM_SYS_FDSET_P(src_scm)) Scm_Error("<sys-fdset> required, but got %S", src_scm);
  src = SCM_SYS_FDSET(src_scm);
  {
{
ScmObj SCM_RESULT;

#line 891 "syslib.stub"
(dst)->fdset=((src)->fdset),
(dst)->maxfd=((src)->maxfd);

#line 893 "syslib.stub"
SCM_RESULT=(SCM_OBJ(dst));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBRX(syslib_sys_fdset_copyX__STUB, 2, 0,0, SCM_OBJ(&scm__sc.d1309[4]),SCM_SUBR_IMMEDIATE_ARG, syslib_sys_fdset_copyX, NULL, NULL);

#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
static ScmObj syslib_sys_select(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj rfds_scm;
  ScmObj rfds;
  ScmObj wfds_scm;
  ScmObj wfds;
  ScmObj efds_scm;
  ScmObj efds;
  ScmObj timeout_scm;
  ScmObj timeout;
  SCM_ENTER_SUBR("sys-select");
  if (SCM_ARGCNT >= 5
      && !SCM_NULLP(SCM_ARGREF(SCM_ARGCNT-1)))
    Scm_Error("too many arguments: up to 4 is expected, %d given.", SCM_ARGCNT + Scm_Length(SCM_ARGREF(SCM_ARGCNT-1)) - 1);
  rfds_scm = SCM_ARGREF(0);
  rfds = (rfds_scm);
  wfds_scm = SCM_ARGREF(1);
  wfds = (wfds_scm);
  efds_scm = SCM_ARGREF(2);
  efds = (efds_scm);
  if (SCM_ARGCNT > 3+1) {
    timeout_scm = SCM_ARGREF(3);
  } else {
    timeout_scm = SCM_FALSE;
  }
  timeout = (timeout_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_SysSelect(rfds,wfds,efds,timeout));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_select__STUB, 3, 2,SCM_OBJ(&scm__sc.d1309[5]),syslib_sys_select, NULL, NULL);

#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
static ScmObj syslib_sys_selectX(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj rfds_scm;
  ScmObj rfds;
  ScmObj wfds_scm;
  ScmObj wfds;
  ScmObj efds_scm;
  ScmObj efds;
  ScmObj timeout_scm;
  ScmObj timeout;
  SCM_ENTER_SUBR("sys-select!");
  if (SCM_ARGCNT >= 5
      && !SCM_NULLP(SCM_ARGREF(SCM_ARGCNT-1)))
    Scm_Error("too many arguments: up to 4 is expected, %d given.", SCM_ARGCNT + Scm_Length(SCM_ARGREF(SCM_ARGCNT-1)) - 1);
  rfds_scm = SCM_ARGREF(0);
  rfds = (rfds_scm);
  wfds_scm = SCM_ARGREF(1);
  wfds = (wfds_scm);
  efds_scm = SCM_ARGREF(2);
  efds = (efds_scm);
  if (SCM_ARGCNT > 3+1) {
    timeout_scm = SCM_ARGREF(3);
  } else {
    timeout_scm = SCM_FALSE;
  }
  timeout = (timeout_scm);
  {
{
ScmObj SCM_RESULT;
SCM_RESULT=(Scm_SysSelectX(rfds,wfds,efds,timeout));
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_selectX__STUB, 3, 2,SCM_OBJ(&scm__sc.d1309[6]),syslib_sys_selectX, NULL, NULL);

#endif /* defined(HAVE_SELECT) */
#if defined(GAUCHE_WINDOWS)
static void handle_cleanup(ScmObj h){{
#line 915 "syslib.stub"
CloseHandle(SCM_FOREIGN_POINTER_REF(HANDLE,h));}}
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static void handle_print(ScmObj h,ScmPort* p,ScmWriteContext* c){{
#line 918 "syslib.stub"
{ScmObj type=Scm_ForeignPointerAttrGet(SCM_FOREIGN_POINTER(h),
scm__rc.d1310[0],SCM_FALSE);
if (
SCM_EQ(type,scm__rc.d1310[1])){
Scm_Printf(p,"#<win:handle process %d @%p>",Scm_WinProcessPID(h),h);} else {
#line 924 "syslib.stub"
Scm_Printf(p,"#<win:handle @%p>",h);}}}}
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
 ScmObj Scm_MakeWinHandle(HANDLE wh,ScmObj type){{
#line 932 "syslib.stub"
{ScmObj h=Scm_MakeForeignPointer(WinHandleClass,wh);
if (!(SCM_FALSEP(type))){{
Scm_ForeignPointerAttrSet(SCM_FOREIGN_POINTER(h),scm__rc.d1310[0],type);}}
return (h);}}}
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
 int Scm_WinHandleP(ScmObj obj,ScmObj type){{
#line 938 "syslib.stub"
if (!(SCM_XTYPEP(obj,WinHandleClass))){{return (FALSE);}}
return (
(SCM_FALSEP(type))||(
SCM_EQ(type,Scm_ForeignPointerAttrGet(SCM_FOREIGN_POINTER(obj),
scm__rc.d1310[0],SCM_FALSE))));}}
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
 HANDLE Scm_WinHandle(ScmObj h,ScmObj type){{
#line 945 "syslib.stub"
if (!(Scm_WinHandleP(h,type))){{SCM_TYPE_ERROR(h,"<win:handle>");}}
return (SCM_FOREIGN_POINTER_REF(HANDLE,h));}}
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
 ScmObj Scm_MakeWinProcess(HANDLE h){{
#line 951 "syslib.stub"
return (Scm_MakeWinHandle(h,scm__rc.d1310[1]));}}
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
 int Scm_WinProcessP(ScmObj obj){{
#line 954 "syslib.stub"
return (Scm_WinHandleP(obj,scm__rc.d1310[1]));}}
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
 HANDLE Scm_WinProcess(ScmObj obj){{
#line 957 "syslib.stub"
Scm_WinHandle(obj,scm__rc.d1310[1]);}}
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj syslib_sys_win_processP(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj obj_scm;
  ScmObj obj;
  SCM_ENTER_SUBR("sys-win-process?");
  obj_scm = SCM_ARGREF(0);
  obj = (obj_scm);
  {
{
int SCM_RESULT;
SCM_RESULT=(Scm_WinProcessP(obj));
SCM_RETURN(SCM_MAKE_BOOL(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_win_processP__STUB, 1, 0,SCM_OBJ(&scm__sc.d1303[3]),syslib_sys_win_processP, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj syslib_sys_win_process_pid(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj obj_scm;
  ScmObj obj;
  SCM_ENTER_SUBR("sys-win-process-pid");
  obj_scm = SCM_ARGREF(0);
  obj = (obj_scm);
  {
{
int SCM_RESULT;
SCM_RESULT=(Scm_WinProcessPID(obj));
SCM_RETURN(Scm_MakeInteger(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_win_process_pid__STUB, 1, 0,SCM_OBJ(&scm__sc.d1303[4]),syslib_sys_win_process_pid, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
static ScmObj syslib_sys_get_osfhandle(ScmObj *SCM_FP, int SCM_ARGCNT, void *data_)
{
  ScmObj port_or_fd_scm;
  ScmObj port_or_fd;
  SCM_ENTER_SUBR("sys-get-osfhandle");
  port_or_fd_scm = SCM_ARGREF(0);
  port_or_fd = (port_or_fd_scm);
  {
{
ScmObj SCM_RESULT;

#line 965 "syslib.stub"
{int fd=Scm_GetPortFd(port_or_fd,TRUE);HANDLE h=
((HANDLE )(_get_osfhandle(fd)));
if ((h)==(INVALID_HANDLE_VALUE)){{Scm_SysError("get_osfhandle failed");}}
SCM_RESULT=(Scm_MakeWinHandle(h,SCM_FALSE));}
SCM_RETURN(SCM_OBJ_SAFE(SCM_RESULT));
}
  }
}

static SCM_DEFINE_SUBR(syslib_sys_get_osfhandle__STUB, 1, 0,SCM_OBJ(&scm__sc.d1303[5]),syslib_sys_get_osfhandle, NULL, NULL);

#endif /* defined(GAUCHE_WINDOWS) */
void Scm_Init_syslib(ScmModule *mod){

  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-readdir")), SCM_OBJ(&syslib_sys_readdir__STUB), 0);
  scm__rc.d1004[0] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1003[1]))); /* absolute */
  scm__rc.d1004[1] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1003[2]))); /* expand */
  scm__rc.d1004[2] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1003[3]))); /* canonicalize */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-normalize-pathname")), SCM_OBJ(&syslib_sys_normalize_pathname__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-tmpdir")), SCM_OBJ(&syslib_sys_tmpdir__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-basename")), SCM_OBJ(&syslib_sys_basename__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-dirname")), SCM_OBJ(&syslib_sys_dirname__STUB), 0);
#if defined(E2BIG)
  scm__rc.d1005[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1006[0]))); /* E2BIG */
#endif /* defined(E2BIG) */
#if defined(E2BIG)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1005[0]), Scm_MakeInteger(E2BIG), SCM_BINDING_CONST);

#endif /* defined(E2BIG) */
#if defined(EACCES)
  scm__rc.d1007[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1008[0]))); /* EACCES */
#endif /* defined(EACCES) */
#if defined(EACCES)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1007[0]), Scm_MakeInteger(EACCES), SCM_BINDING_CONST);

#endif /* defined(EACCES) */
#if defined(EADDRINUSE)
  scm__rc.d1009[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1010[0]))); /* EADDRINUSE */
#endif /* defined(EADDRINUSE) */
#if defined(EADDRINUSE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1009[0]), Scm_MakeInteger(EADDRINUSE), SCM_BINDING_CONST);

#endif /* defined(EADDRINUSE) */
#if defined(EADDRNOTAVAIL)
  scm__rc.d1011[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1012[0]))); /* EADDRNOTAVAIL */
#endif /* defined(EADDRNOTAVAIL) */
#if defined(EADDRNOTAVAIL)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1011[0]), Scm_MakeInteger(EADDRNOTAVAIL), SCM_BINDING_CONST);

#endif /* defined(EADDRNOTAVAIL) */
#if defined(EADV)
  scm__rc.d1013[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1014[0]))); /* EADV */
#endif /* defined(EADV) */
#if defined(EADV)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1013[0]), Scm_MakeInteger(EADV), SCM_BINDING_CONST);

#endif /* defined(EADV) */
#if defined(EAFNOSUPPORT)
  scm__rc.d1015[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1016[0]))); /* EAFNOSUPPORT */
#endif /* defined(EAFNOSUPPORT) */
#if defined(EAFNOSUPPORT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1015[0]), Scm_MakeInteger(EAFNOSUPPORT), SCM_BINDING_CONST);

#endif /* defined(EAFNOSUPPORT) */
#if defined(EAGAIN)
  scm__rc.d1017[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1018[0]))); /* EAGAIN */
#endif /* defined(EAGAIN) */
#if defined(EAGAIN)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1017[0]), Scm_MakeInteger(EAGAIN), SCM_BINDING_CONST);

#endif /* defined(EAGAIN) */
#if defined(EALREADY)
  scm__rc.d1019[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1020[0]))); /* EALREADY */
#endif /* defined(EALREADY) */
#if defined(EALREADY)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1019[0]), Scm_MakeInteger(EALREADY), SCM_BINDING_CONST);

#endif /* defined(EALREADY) */
#if defined(EBADE)
  scm__rc.d1021[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1022[0]))); /* EBADE */
#endif /* defined(EBADE) */
#if defined(EBADE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1021[0]), Scm_MakeInteger(EBADE), SCM_BINDING_CONST);

#endif /* defined(EBADE) */
#if defined(EBADF)
  scm__rc.d1023[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1024[0]))); /* EBADF */
#endif /* defined(EBADF) */
#if defined(EBADF)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1023[0]), Scm_MakeInteger(EBADF), SCM_BINDING_CONST);

#endif /* defined(EBADF) */
#if defined(EBADFD)
  scm__rc.d1025[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1026[0]))); /* EBADFD */
#endif /* defined(EBADFD) */
#if defined(EBADFD)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1025[0]), Scm_MakeInteger(EBADFD), SCM_BINDING_CONST);

#endif /* defined(EBADFD) */
#if defined(EBADMSG)
  scm__rc.d1027[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1028[0]))); /* EBADMSG */
#endif /* defined(EBADMSG) */
#if defined(EBADMSG)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1027[0]), Scm_MakeInteger(EBADMSG), SCM_BINDING_CONST);

#endif /* defined(EBADMSG) */
#if defined(EBADR)
  scm__rc.d1029[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1030[0]))); /* EBADR */
#endif /* defined(EBADR) */
#if defined(EBADR)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1029[0]), Scm_MakeInteger(EBADR), SCM_BINDING_CONST);

#endif /* defined(EBADR) */
#if defined(EBADRQC)
  scm__rc.d1031[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1032[0]))); /* EBADRQC */
#endif /* defined(EBADRQC) */
#if defined(EBADRQC)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1031[0]), Scm_MakeInteger(EBADRQC), SCM_BINDING_CONST);

#endif /* defined(EBADRQC) */
#if defined(EBADSLT)
  scm__rc.d1033[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1034[0]))); /* EBADSLT */
#endif /* defined(EBADSLT) */
#if defined(EBADSLT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1033[0]), Scm_MakeInteger(EBADSLT), SCM_BINDING_CONST);

#endif /* defined(EBADSLT) */
#if defined(EBFONT)
  scm__rc.d1035[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1036[0]))); /* EBFONT */
#endif /* defined(EBFONT) */
#if defined(EBFONT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1035[0]), Scm_MakeInteger(EBFONT), SCM_BINDING_CONST);

#endif /* defined(EBFONT) */
#if defined(EBUSY)
  scm__rc.d1037[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1038[0]))); /* EBUSY */
#endif /* defined(EBUSY) */
#if defined(EBUSY)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1037[0]), Scm_MakeInteger(EBUSY), SCM_BINDING_CONST);

#endif /* defined(EBUSY) */
#if defined(ECANCELED)
  scm__rc.d1039[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1040[0]))); /* ECANCELED */
#endif /* defined(ECANCELED) */
#if defined(ECANCELED)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1039[0]), Scm_MakeInteger(ECANCELED), SCM_BINDING_CONST);

#endif /* defined(ECANCELED) */
#if defined(ECHILD)
  scm__rc.d1041[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1042[0]))); /* ECHILD */
#endif /* defined(ECHILD) */
#if defined(ECHILD)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1041[0]), Scm_MakeInteger(ECHILD), SCM_BINDING_CONST);

#endif /* defined(ECHILD) */
#if defined(ECHRNG)
  scm__rc.d1043[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1044[0]))); /* ECHRNG */
#endif /* defined(ECHRNG) */
#if defined(ECHRNG)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1043[0]), Scm_MakeInteger(ECHRNG), SCM_BINDING_CONST);

#endif /* defined(ECHRNG) */
#if defined(ECOMM)
  scm__rc.d1045[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1046[0]))); /* ECOMM */
#endif /* defined(ECOMM) */
#if defined(ECOMM)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1045[0]), Scm_MakeInteger(ECOMM), SCM_BINDING_CONST);

#endif /* defined(ECOMM) */
#if defined(ECONNABORTED)
  scm__rc.d1047[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1048[0]))); /* ECONNABORTED */
#endif /* defined(ECONNABORTED) */
#if defined(ECONNABORTED)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1047[0]), Scm_MakeInteger(ECONNABORTED), SCM_BINDING_CONST);

#endif /* defined(ECONNABORTED) */
#if defined(ECONNREFUSED)
  scm__rc.d1049[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1050[0]))); /* ECONNREFUSED */
#endif /* defined(ECONNREFUSED) */
#if defined(ECONNREFUSED)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1049[0]), Scm_MakeInteger(ECONNREFUSED), SCM_BINDING_CONST);

#endif /* defined(ECONNREFUSED) */
#if defined(ECONNRESET)
  scm__rc.d1051[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1052[0]))); /* ECONNRESET */
#endif /* defined(ECONNRESET) */
#if defined(ECONNRESET)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1051[0]), Scm_MakeInteger(ECONNRESET), SCM_BINDING_CONST);

#endif /* defined(ECONNRESET) */
#if defined(EDEADLK)
  scm__rc.d1053[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1054[0]))); /* EDEADLK */
#endif /* defined(EDEADLK) */
#if defined(EDEADLK)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1053[0]), Scm_MakeInteger(EDEADLK), SCM_BINDING_CONST);

#endif /* defined(EDEADLK) */
#if defined(EDEADLOCK)
  scm__rc.d1055[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1056[0]))); /* EDEADLOCK */
#endif /* defined(EDEADLOCK) */
#if defined(EDEADLOCK)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1055[0]), Scm_MakeInteger(EDEADLOCK), SCM_BINDING_CONST);

#endif /* defined(EDEADLOCK) */
#if defined(EDESTADDRREQ)
  scm__rc.d1057[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1058[0]))); /* EDESTADDRREQ */
#endif /* defined(EDESTADDRREQ) */
#if defined(EDESTADDRREQ)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1057[0]), Scm_MakeInteger(EDESTADDRREQ), SCM_BINDING_CONST);

#endif /* defined(EDESTADDRREQ) */
#if defined(EDOM)
  scm__rc.d1059[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1060[0]))); /* EDOM */
#endif /* defined(EDOM) */
#if defined(EDOM)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1059[0]), Scm_MakeInteger(EDOM), SCM_BINDING_CONST);

#endif /* defined(EDOM) */
#if defined(EDOTDOT)
  scm__rc.d1061[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1062[0]))); /* EDOTDOT */
#endif /* defined(EDOTDOT) */
#if defined(EDOTDOT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1061[0]), Scm_MakeInteger(EDOTDOT), SCM_BINDING_CONST);

#endif /* defined(EDOTDOT) */
#if defined(EDQUOT)
  scm__rc.d1063[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1064[0]))); /* EDQUOT */
#endif /* defined(EDQUOT) */
#if defined(EDQUOT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1063[0]), Scm_MakeInteger(EDQUOT), SCM_BINDING_CONST);

#endif /* defined(EDQUOT) */
#if defined(EEXIST)
  scm__rc.d1065[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1066[0]))); /* EEXIST */
#endif /* defined(EEXIST) */
#if defined(EEXIST)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1065[0]), Scm_MakeInteger(EEXIST), SCM_BINDING_CONST);

#endif /* defined(EEXIST) */
#if defined(EFAULT)
  scm__rc.d1067[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1068[0]))); /* EFAULT */
#endif /* defined(EFAULT) */
#if defined(EFAULT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1067[0]), Scm_MakeInteger(EFAULT), SCM_BINDING_CONST);

#endif /* defined(EFAULT) */
#if defined(EFBIG)
  scm__rc.d1069[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1070[0]))); /* EFBIG */
#endif /* defined(EFBIG) */
#if defined(EFBIG)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1069[0]), Scm_MakeInteger(EFBIG), SCM_BINDING_CONST);

#endif /* defined(EFBIG) */
#if defined(EHOSTDOWN)
  scm__rc.d1071[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1072[0]))); /* EHOSTDOWN */
#endif /* defined(EHOSTDOWN) */
#if defined(EHOSTDOWN)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1071[0]), Scm_MakeInteger(EHOSTDOWN), SCM_BINDING_CONST);

#endif /* defined(EHOSTDOWN) */
#if defined(EHOSTUNREACH)
  scm__rc.d1073[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1074[0]))); /* EHOSTUNREACH */
#endif /* defined(EHOSTUNREACH) */
#if defined(EHOSTUNREACH)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1073[0]), Scm_MakeInteger(EHOSTUNREACH), SCM_BINDING_CONST);

#endif /* defined(EHOSTUNREACH) */
#if defined(EIDRM)
  scm__rc.d1075[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1076[0]))); /* EIDRM */
#endif /* defined(EIDRM) */
#if defined(EIDRM)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1075[0]), Scm_MakeInteger(EIDRM), SCM_BINDING_CONST);

#endif /* defined(EIDRM) */
#if defined(EILSEQ)
  scm__rc.d1077[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1078[0]))); /* EILSEQ */
#endif /* defined(EILSEQ) */
#if defined(EILSEQ)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1077[0]), Scm_MakeInteger(EILSEQ), SCM_BINDING_CONST);

#endif /* defined(EILSEQ) */
#if defined(EINPROGRESS)
  scm__rc.d1079[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1080[0]))); /* EINPROGRESS */
#endif /* defined(EINPROGRESS) */
#if defined(EINPROGRESS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1079[0]), Scm_MakeInteger(EINPROGRESS), SCM_BINDING_CONST);

#endif /* defined(EINPROGRESS) */
#if defined(EINTR)
  scm__rc.d1081[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1082[0]))); /* EINTR */
#endif /* defined(EINTR) */
#if defined(EINTR)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1081[0]), Scm_MakeInteger(EINTR), SCM_BINDING_CONST);

#endif /* defined(EINTR) */
#if defined(EINVAL)
  scm__rc.d1083[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1084[0]))); /* EINVAL */
#endif /* defined(EINVAL) */
#if defined(EINVAL)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1083[0]), Scm_MakeInteger(EINVAL), SCM_BINDING_CONST);

#endif /* defined(EINVAL) */
#if defined(EIO)
  scm__rc.d1085[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1086[0]))); /* EIO */
#endif /* defined(EIO) */
#if defined(EIO)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1085[0]), Scm_MakeInteger(EIO), SCM_BINDING_CONST);

#endif /* defined(EIO) */
#if defined(EISCONN)
  scm__rc.d1087[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1088[0]))); /* EISCONN */
#endif /* defined(EISCONN) */
#if defined(EISCONN)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1087[0]), Scm_MakeInteger(EISCONN), SCM_BINDING_CONST);

#endif /* defined(EISCONN) */
#if defined(EISDIR)
  scm__rc.d1089[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1090[0]))); /* EISDIR */
#endif /* defined(EISDIR) */
#if defined(EISDIR)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1089[0]), Scm_MakeInteger(EISDIR), SCM_BINDING_CONST);

#endif /* defined(EISDIR) */
#if defined(EISNAM)
  scm__rc.d1091[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1092[0]))); /* EISNAM */
#endif /* defined(EISNAM) */
#if defined(EISNAM)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1091[0]), Scm_MakeInteger(EISNAM), SCM_BINDING_CONST);

#endif /* defined(EISNAM) */
#if defined(EKEYEXPIRED)
  scm__rc.d1093[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1094[0]))); /* EKEYEXPIRED */
#endif /* defined(EKEYEXPIRED) */
#if defined(EKEYEXPIRED)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1093[0]), Scm_MakeInteger(EKEYEXPIRED), SCM_BINDING_CONST);

#endif /* defined(EKEYEXPIRED) */
#if defined(EKEYREJECTED)
  scm__rc.d1095[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1096[0]))); /* EKEYREJECTED */
#endif /* defined(EKEYREJECTED) */
#if defined(EKEYREJECTED)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1095[0]), Scm_MakeInteger(EKEYREJECTED), SCM_BINDING_CONST);

#endif /* defined(EKEYREJECTED) */
#if defined(EKEYREVOKED)
  scm__rc.d1097[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1098[0]))); /* EKEYREVOKED */
#endif /* defined(EKEYREVOKED) */
#if defined(EKEYREVOKED)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1097[0]), Scm_MakeInteger(EKEYREVOKED), SCM_BINDING_CONST);

#endif /* defined(EKEYREVOKED) */
#if defined(EL2HLT)
  scm__rc.d1099[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1100[0]))); /* EL2HLT */
#endif /* defined(EL2HLT) */
#if defined(EL2HLT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1099[0]), Scm_MakeInteger(EL2HLT), SCM_BINDING_CONST);

#endif /* defined(EL2HLT) */
#if defined(EL2NSYNC)
  scm__rc.d1101[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1102[0]))); /* EL2NSYNC */
#endif /* defined(EL2NSYNC) */
#if defined(EL2NSYNC)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1101[0]), Scm_MakeInteger(EL2NSYNC), SCM_BINDING_CONST);

#endif /* defined(EL2NSYNC) */
#if defined(EL3HLT)
  scm__rc.d1103[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1104[0]))); /* EL3HLT */
#endif /* defined(EL3HLT) */
#if defined(EL3HLT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1103[0]), Scm_MakeInteger(EL3HLT), SCM_BINDING_CONST);

#endif /* defined(EL3HLT) */
#if defined(EL3RST)
  scm__rc.d1105[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1106[0]))); /* EL3RST */
#endif /* defined(EL3RST) */
#if defined(EL3RST)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1105[0]), Scm_MakeInteger(EL3RST), SCM_BINDING_CONST);

#endif /* defined(EL3RST) */
#if defined(ELIBACC)
  scm__rc.d1107[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1108[0]))); /* ELIBACC */
#endif /* defined(ELIBACC) */
#if defined(ELIBACC)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1107[0]), Scm_MakeInteger(ELIBACC), SCM_BINDING_CONST);

#endif /* defined(ELIBACC) */
#if defined(ELIBBAD)
  scm__rc.d1109[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1110[0]))); /* ELIBBAD */
#endif /* defined(ELIBBAD) */
#if defined(ELIBBAD)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1109[0]), Scm_MakeInteger(ELIBBAD), SCM_BINDING_CONST);

#endif /* defined(ELIBBAD) */
#if defined(ELIBEXEC)
  scm__rc.d1111[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1112[0]))); /* ELIBEXEC */
#endif /* defined(ELIBEXEC) */
#if defined(ELIBEXEC)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1111[0]), Scm_MakeInteger(ELIBEXEC), SCM_BINDING_CONST);

#endif /* defined(ELIBEXEC) */
#if defined(ELIBMAX)
  scm__rc.d1113[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1114[0]))); /* ELIBMAX */
#endif /* defined(ELIBMAX) */
#if defined(ELIBMAX)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1113[0]), Scm_MakeInteger(ELIBMAX), SCM_BINDING_CONST);

#endif /* defined(ELIBMAX) */
#if defined(ELIBSCN)
  scm__rc.d1115[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1116[0]))); /* ELIBSCN */
#endif /* defined(ELIBSCN) */
#if defined(ELIBSCN)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1115[0]), Scm_MakeInteger(ELIBSCN), SCM_BINDING_CONST);

#endif /* defined(ELIBSCN) */
#if defined(ELNRNG)
  scm__rc.d1117[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1118[0]))); /* ELNRNG */
#endif /* defined(ELNRNG) */
#if defined(ELNRNG)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1117[0]), Scm_MakeInteger(ELNRNG), SCM_BINDING_CONST);

#endif /* defined(ELNRNG) */
#if defined(ELOOP)
  scm__rc.d1119[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1120[0]))); /* ELOOP */
#endif /* defined(ELOOP) */
#if defined(ELOOP)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1119[0]), Scm_MakeInteger(ELOOP), SCM_BINDING_CONST);

#endif /* defined(ELOOP) */
#if defined(EMEDIUMTYPE)
  scm__rc.d1121[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1122[0]))); /* EMEDIUMTYPE */
#endif /* defined(EMEDIUMTYPE) */
#if defined(EMEDIUMTYPE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1121[0]), Scm_MakeInteger(EMEDIUMTYPE), SCM_BINDING_CONST);

#endif /* defined(EMEDIUMTYPE) */
#if defined(EMFILE)
  scm__rc.d1123[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1124[0]))); /* EMFILE */
#endif /* defined(EMFILE) */
#if defined(EMFILE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1123[0]), Scm_MakeInteger(EMFILE), SCM_BINDING_CONST);

#endif /* defined(EMFILE) */
#if defined(EMLINK)
  scm__rc.d1125[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1126[0]))); /* EMLINK */
#endif /* defined(EMLINK) */
#if defined(EMLINK)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1125[0]), Scm_MakeInteger(EMLINK), SCM_BINDING_CONST);

#endif /* defined(EMLINK) */
#if defined(EMSGSIZE)
  scm__rc.d1127[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1128[0]))); /* EMSGSIZE */
#endif /* defined(EMSGSIZE) */
#if defined(EMSGSIZE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1127[0]), Scm_MakeInteger(EMSGSIZE), SCM_BINDING_CONST);

#endif /* defined(EMSGSIZE) */
#if defined(EMULTIHOP)
  scm__rc.d1129[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1130[0]))); /* EMULTIHOP */
#endif /* defined(EMULTIHOP) */
#if defined(EMULTIHOP)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1129[0]), Scm_MakeInteger(EMULTIHOP), SCM_BINDING_CONST);

#endif /* defined(EMULTIHOP) */
#if defined(ENAMETOOLONG)
  scm__rc.d1131[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1132[0]))); /* ENAMETOOLONG */
#endif /* defined(ENAMETOOLONG) */
#if defined(ENAMETOOLONG)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1131[0]), Scm_MakeInteger(ENAMETOOLONG), SCM_BINDING_CONST);

#endif /* defined(ENAMETOOLONG) */
#if defined(ENAVAIL)
  scm__rc.d1133[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1134[0]))); /* ENAVAIL */
#endif /* defined(ENAVAIL) */
#if defined(ENAVAIL)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1133[0]), Scm_MakeInteger(ENAVAIL), SCM_BINDING_CONST);

#endif /* defined(ENAVAIL) */
#if defined(ENETDOWN)
  scm__rc.d1135[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1136[0]))); /* ENETDOWN */
#endif /* defined(ENETDOWN) */
#if defined(ENETDOWN)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1135[0]), Scm_MakeInteger(ENETDOWN), SCM_BINDING_CONST);

#endif /* defined(ENETDOWN) */
#if defined(ENETRESET)
  scm__rc.d1137[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1138[0]))); /* ENETRESET */
#endif /* defined(ENETRESET) */
#if defined(ENETRESET)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1137[0]), Scm_MakeInteger(ENETRESET), SCM_BINDING_CONST);

#endif /* defined(ENETRESET) */
#if defined(ENETUNREACH)
  scm__rc.d1139[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1140[0]))); /* ENETUNREACH */
#endif /* defined(ENETUNREACH) */
#if defined(ENETUNREACH)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1139[0]), Scm_MakeInteger(ENETUNREACH), SCM_BINDING_CONST);

#endif /* defined(ENETUNREACH) */
#if defined(ENFILE)
  scm__rc.d1141[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1142[0]))); /* ENFILE */
#endif /* defined(ENFILE) */
#if defined(ENFILE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1141[0]), Scm_MakeInteger(ENFILE), SCM_BINDING_CONST);

#endif /* defined(ENFILE) */
#if defined(ENOANO)
  scm__rc.d1143[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1144[0]))); /* ENOANO */
#endif /* defined(ENOANO) */
#if defined(ENOANO)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1143[0]), Scm_MakeInteger(ENOANO), SCM_BINDING_CONST);

#endif /* defined(ENOANO) */
#if defined(ENOBUFS)
  scm__rc.d1145[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1146[0]))); /* ENOBUFS */
#endif /* defined(ENOBUFS) */
#if defined(ENOBUFS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1145[0]), Scm_MakeInteger(ENOBUFS), SCM_BINDING_CONST);

#endif /* defined(ENOBUFS) */
#if defined(ENOCSI)
  scm__rc.d1147[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1148[0]))); /* ENOCSI */
#endif /* defined(ENOCSI) */
#if defined(ENOCSI)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1147[0]), Scm_MakeInteger(ENOCSI), SCM_BINDING_CONST);

#endif /* defined(ENOCSI) */
#if defined(ENODATA)
  scm__rc.d1149[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1150[0]))); /* ENODATA */
#endif /* defined(ENODATA) */
#if defined(ENODATA)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1149[0]), Scm_MakeInteger(ENODATA), SCM_BINDING_CONST);

#endif /* defined(ENODATA) */
#if defined(ENODEV)
  scm__rc.d1151[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1152[0]))); /* ENODEV */
#endif /* defined(ENODEV) */
#if defined(ENODEV)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1151[0]), Scm_MakeInteger(ENODEV), SCM_BINDING_CONST);

#endif /* defined(ENODEV) */
#if defined(ENOENT)
  scm__rc.d1153[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1154[0]))); /* ENOENT */
#endif /* defined(ENOENT) */
#if defined(ENOENT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1153[0]), Scm_MakeInteger(ENOENT), SCM_BINDING_CONST);

#endif /* defined(ENOENT) */
#if defined(ENOEXEC)
  scm__rc.d1155[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1156[0]))); /* ENOEXEC */
#endif /* defined(ENOEXEC) */
#if defined(ENOEXEC)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1155[0]), Scm_MakeInteger(ENOEXEC), SCM_BINDING_CONST);

#endif /* defined(ENOEXEC) */
#if defined(ENOKEY)
  scm__rc.d1157[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1158[0]))); /* ENOKEY */
#endif /* defined(ENOKEY) */
#if defined(ENOKEY)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1157[0]), Scm_MakeInteger(ENOKEY), SCM_BINDING_CONST);

#endif /* defined(ENOKEY) */
#if defined(ENOLCK)
  scm__rc.d1159[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1160[0]))); /* ENOLCK */
#endif /* defined(ENOLCK) */
#if defined(ENOLCK)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1159[0]), Scm_MakeInteger(ENOLCK), SCM_BINDING_CONST);

#endif /* defined(ENOLCK) */
#if defined(ENOLINK)
  scm__rc.d1161[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1162[0]))); /* ENOLINK */
#endif /* defined(ENOLINK) */
#if defined(ENOLINK)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1161[0]), Scm_MakeInteger(ENOLINK), SCM_BINDING_CONST);

#endif /* defined(ENOLINK) */
#if defined(ENOMEDIUM)
  scm__rc.d1163[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1164[0]))); /* ENOMEDIUM */
#endif /* defined(ENOMEDIUM) */
#if defined(ENOMEDIUM)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1163[0]), Scm_MakeInteger(ENOMEDIUM), SCM_BINDING_CONST);

#endif /* defined(ENOMEDIUM) */
#if defined(ENOMEM)
  scm__rc.d1165[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1166[0]))); /* ENOMEM */
#endif /* defined(ENOMEM) */
#if defined(ENOMEM)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1165[0]), Scm_MakeInteger(ENOMEM), SCM_BINDING_CONST);

#endif /* defined(ENOMEM) */
#if defined(ENOMSG)
  scm__rc.d1167[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1168[0]))); /* ENOMSG */
#endif /* defined(ENOMSG) */
#if defined(ENOMSG)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1167[0]), Scm_MakeInteger(ENOMSG), SCM_BINDING_CONST);

#endif /* defined(ENOMSG) */
#if defined(ENONET)
  scm__rc.d1169[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1170[0]))); /* ENONET */
#endif /* defined(ENONET) */
#if defined(ENONET)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1169[0]), Scm_MakeInteger(ENONET), SCM_BINDING_CONST);

#endif /* defined(ENONET) */
#if defined(ENOPKG)
  scm__rc.d1171[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1172[0]))); /* ENOPKG */
#endif /* defined(ENOPKG) */
#if defined(ENOPKG)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1171[0]), Scm_MakeInteger(ENOPKG), SCM_BINDING_CONST);

#endif /* defined(ENOPKG) */
#if defined(ENOPROTOOPT)
  scm__rc.d1173[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1174[0]))); /* ENOPROTOOPT */
#endif /* defined(ENOPROTOOPT) */
#if defined(ENOPROTOOPT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1173[0]), Scm_MakeInteger(ENOPROTOOPT), SCM_BINDING_CONST);

#endif /* defined(ENOPROTOOPT) */
#if defined(ENOSPC)
  scm__rc.d1175[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1176[0]))); /* ENOSPC */
#endif /* defined(ENOSPC) */
#if defined(ENOSPC)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1175[0]), Scm_MakeInteger(ENOSPC), SCM_BINDING_CONST);

#endif /* defined(ENOSPC) */
#if defined(ENOSR)
  scm__rc.d1177[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1178[0]))); /* ENOSR */
#endif /* defined(ENOSR) */
#if defined(ENOSR)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1177[0]), Scm_MakeInteger(ENOSR), SCM_BINDING_CONST);

#endif /* defined(ENOSR) */
#if defined(ENOSTR)
  scm__rc.d1179[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1180[0]))); /* ENOSTR */
#endif /* defined(ENOSTR) */
#if defined(ENOSTR)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1179[0]), Scm_MakeInteger(ENOSTR), SCM_BINDING_CONST);

#endif /* defined(ENOSTR) */
#if defined(ENOSYS)
  scm__rc.d1181[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1182[0]))); /* ENOSYS */
#endif /* defined(ENOSYS) */
#if defined(ENOSYS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1181[0]), Scm_MakeInteger(ENOSYS), SCM_BINDING_CONST);

#endif /* defined(ENOSYS) */
#if defined(ENOTBLK)
  scm__rc.d1183[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1184[0]))); /* ENOTBLK */
#endif /* defined(ENOTBLK) */
#if defined(ENOTBLK)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1183[0]), Scm_MakeInteger(ENOTBLK), SCM_BINDING_CONST);

#endif /* defined(ENOTBLK) */
#if defined(ENOTCONN)
  scm__rc.d1185[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1186[0]))); /* ENOTCONN */
#endif /* defined(ENOTCONN) */
#if defined(ENOTCONN)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1185[0]), Scm_MakeInteger(ENOTCONN), SCM_BINDING_CONST);

#endif /* defined(ENOTCONN) */
#if defined(ENOTDIR)
  scm__rc.d1187[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1188[0]))); /* ENOTDIR */
#endif /* defined(ENOTDIR) */
#if defined(ENOTDIR)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1187[0]), Scm_MakeInteger(ENOTDIR), SCM_BINDING_CONST);

#endif /* defined(ENOTDIR) */
#if defined(ENOTEMPTY)
  scm__rc.d1189[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1190[0]))); /* ENOTEMPTY */
#endif /* defined(ENOTEMPTY) */
#if defined(ENOTEMPTY)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1189[0]), Scm_MakeInteger(ENOTEMPTY), SCM_BINDING_CONST);

#endif /* defined(ENOTEMPTY) */
#if defined(ENOTNAM)
  scm__rc.d1191[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1192[0]))); /* ENOTNAM */
#endif /* defined(ENOTNAM) */
#if defined(ENOTNAM)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1191[0]), Scm_MakeInteger(ENOTNAM), SCM_BINDING_CONST);

#endif /* defined(ENOTNAM) */
#if defined(ENOTSOCK)
  scm__rc.d1193[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1194[0]))); /* ENOTSOCK */
#endif /* defined(ENOTSOCK) */
#if defined(ENOTSOCK)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1193[0]), Scm_MakeInteger(ENOTSOCK), SCM_BINDING_CONST);

#endif /* defined(ENOTSOCK) */
#if defined(ENOTTY)
  scm__rc.d1195[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1196[0]))); /* ENOTTY */
#endif /* defined(ENOTTY) */
#if defined(ENOTTY)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1195[0]), Scm_MakeInteger(ENOTTY), SCM_BINDING_CONST);

#endif /* defined(ENOTTY) */
#if defined(ENOTUNIQ)
  scm__rc.d1197[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1198[0]))); /* ENOTUNIQ */
#endif /* defined(ENOTUNIQ) */
#if defined(ENOTUNIQ)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1197[0]), Scm_MakeInteger(ENOTUNIQ), SCM_BINDING_CONST);

#endif /* defined(ENOTUNIQ) */
#if defined(ENXIO)
  scm__rc.d1199[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1200[0]))); /* ENXIO */
#endif /* defined(ENXIO) */
#if defined(ENXIO)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1199[0]), Scm_MakeInteger(ENXIO), SCM_BINDING_CONST);

#endif /* defined(ENXIO) */
#if defined(EOPNOTSUPP)
  scm__rc.d1201[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1202[0]))); /* EOPNOTSUPP */
#endif /* defined(EOPNOTSUPP) */
#if defined(EOPNOTSUPP)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1201[0]), Scm_MakeInteger(EOPNOTSUPP), SCM_BINDING_CONST);

#endif /* defined(EOPNOTSUPP) */
#if defined(EOVERFLOW)
  scm__rc.d1203[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1204[0]))); /* EOVERFLOW */
#endif /* defined(EOVERFLOW) */
#if defined(EOVERFLOW)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1203[0]), Scm_MakeInteger(EOVERFLOW), SCM_BINDING_CONST);

#endif /* defined(EOVERFLOW) */
#if defined(EPERM)
  scm__rc.d1205[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1206[0]))); /* EPERM */
#endif /* defined(EPERM) */
#if defined(EPERM)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1205[0]), Scm_MakeInteger(EPERM), SCM_BINDING_CONST);

#endif /* defined(EPERM) */
#if defined(EPFNOSUPPORT)
  scm__rc.d1207[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1208[0]))); /* EPFNOSUPPORT */
#endif /* defined(EPFNOSUPPORT) */
#if defined(EPFNOSUPPORT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1207[0]), Scm_MakeInteger(EPFNOSUPPORT), SCM_BINDING_CONST);

#endif /* defined(EPFNOSUPPORT) */
#if defined(EPIPE)
  scm__rc.d1209[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1210[0]))); /* EPIPE */
#endif /* defined(EPIPE) */
#if defined(EPIPE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1209[0]), Scm_MakeInteger(EPIPE), SCM_BINDING_CONST);

#endif /* defined(EPIPE) */
#if defined(EPROTO)
  scm__rc.d1211[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1212[0]))); /* EPROTO */
#endif /* defined(EPROTO) */
#if defined(EPROTO)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1211[0]), Scm_MakeInteger(EPROTO), SCM_BINDING_CONST);

#endif /* defined(EPROTO) */
#if defined(EPROTONOSUPPORT)
  scm__rc.d1213[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1214[0]))); /* EPROTONOSUPPORT */
#endif /* defined(EPROTONOSUPPORT) */
#if defined(EPROTONOSUPPORT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1213[0]), Scm_MakeInteger(EPROTONOSUPPORT), SCM_BINDING_CONST);

#endif /* defined(EPROTONOSUPPORT) */
#if defined(EPROTOTYPE)
  scm__rc.d1215[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1216[0]))); /* EPROTOTYPE */
#endif /* defined(EPROTOTYPE) */
#if defined(EPROTOTYPE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1215[0]), Scm_MakeInteger(EPROTOTYPE), SCM_BINDING_CONST);

#endif /* defined(EPROTOTYPE) */
#if defined(ERANGE)
  scm__rc.d1217[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1218[0]))); /* ERANGE */
#endif /* defined(ERANGE) */
#if defined(ERANGE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1217[0]), Scm_MakeInteger(ERANGE), SCM_BINDING_CONST);

#endif /* defined(ERANGE) */
#if defined(EREMCHG)
  scm__rc.d1219[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1220[0]))); /* EREMCHG */
#endif /* defined(EREMCHG) */
#if defined(EREMCHG)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1219[0]), Scm_MakeInteger(EREMCHG), SCM_BINDING_CONST);

#endif /* defined(EREMCHG) */
#if defined(EREMOTE)
  scm__rc.d1221[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1222[0]))); /* EREMOTE */
#endif /* defined(EREMOTE) */
#if defined(EREMOTE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1221[0]), Scm_MakeInteger(EREMOTE), SCM_BINDING_CONST);

#endif /* defined(EREMOTE) */
#if defined(EREMOTEIO)
  scm__rc.d1223[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1224[0]))); /* EREMOTEIO */
#endif /* defined(EREMOTEIO) */
#if defined(EREMOTEIO)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1223[0]), Scm_MakeInteger(EREMOTEIO), SCM_BINDING_CONST);

#endif /* defined(EREMOTEIO) */
#if defined(ERESTART)
  scm__rc.d1225[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1226[0]))); /* ERESTART */
#endif /* defined(ERESTART) */
#if defined(ERESTART)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1225[0]), Scm_MakeInteger(ERESTART), SCM_BINDING_CONST);

#endif /* defined(ERESTART) */
#if defined(EROFS)
  scm__rc.d1227[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1228[0]))); /* EROFS */
#endif /* defined(EROFS) */
#if defined(EROFS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1227[0]), Scm_MakeInteger(EROFS), SCM_BINDING_CONST);

#endif /* defined(EROFS) */
#if defined(ESHUTDOWN)
  scm__rc.d1229[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1230[0]))); /* ESHUTDOWN */
#endif /* defined(ESHUTDOWN) */
#if defined(ESHUTDOWN)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1229[0]), Scm_MakeInteger(ESHUTDOWN), SCM_BINDING_CONST);

#endif /* defined(ESHUTDOWN) */
#if defined(ESOCKTNOSUPPORT)
  scm__rc.d1231[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1232[0]))); /* ESOCKTNOSUPPORT */
#endif /* defined(ESOCKTNOSUPPORT) */
#if defined(ESOCKTNOSUPPORT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1231[0]), Scm_MakeInteger(ESOCKTNOSUPPORT), SCM_BINDING_CONST);

#endif /* defined(ESOCKTNOSUPPORT) */
#if defined(ESPIPE)
  scm__rc.d1233[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1234[0]))); /* ESPIPE */
#endif /* defined(ESPIPE) */
#if defined(ESPIPE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1233[0]), Scm_MakeInteger(ESPIPE), SCM_BINDING_CONST);

#endif /* defined(ESPIPE) */
#if defined(ESRCH)
  scm__rc.d1235[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1236[0]))); /* ESRCH */
#endif /* defined(ESRCH) */
#if defined(ESRCH)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1235[0]), Scm_MakeInteger(ESRCH), SCM_BINDING_CONST);

#endif /* defined(ESRCH) */
#if defined(ESRMNT)
  scm__rc.d1237[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1238[0]))); /* ESRMNT */
#endif /* defined(ESRMNT) */
#if defined(ESRMNT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1237[0]), Scm_MakeInteger(ESRMNT), SCM_BINDING_CONST);

#endif /* defined(ESRMNT) */
#if defined(ESTALE)
  scm__rc.d1239[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1240[0]))); /* ESTALE */
#endif /* defined(ESTALE) */
#if defined(ESTALE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1239[0]), Scm_MakeInteger(ESTALE), SCM_BINDING_CONST);

#endif /* defined(ESTALE) */
#if defined(ESTRPIPE)
  scm__rc.d1241[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1242[0]))); /* ESTRPIPE */
#endif /* defined(ESTRPIPE) */
#if defined(ESTRPIPE)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1241[0]), Scm_MakeInteger(ESTRPIPE), SCM_BINDING_CONST);

#endif /* defined(ESTRPIPE) */
#if defined(ETIME)
  scm__rc.d1243[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1244[0]))); /* ETIME */
#endif /* defined(ETIME) */
#if defined(ETIME)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1243[0]), Scm_MakeInteger(ETIME), SCM_BINDING_CONST);

#endif /* defined(ETIME) */
#if defined(ETIMEDOUT)
  scm__rc.d1245[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1246[0]))); /* ETIMEDOUT */
#endif /* defined(ETIMEDOUT) */
#if defined(ETIMEDOUT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1245[0]), Scm_MakeInteger(ETIMEDOUT), SCM_BINDING_CONST);

#endif /* defined(ETIMEDOUT) */
#if defined(ETOOMANYREFS)
  scm__rc.d1247[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1248[0]))); /* ETOOMANYREFS */
#endif /* defined(ETOOMANYREFS) */
#if defined(ETOOMANYREFS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1247[0]), Scm_MakeInteger(ETOOMANYREFS), SCM_BINDING_CONST);

#endif /* defined(ETOOMANYREFS) */
#if defined(ETXTBSY)
  scm__rc.d1249[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1250[0]))); /* ETXTBSY */
#endif /* defined(ETXTBSY) */
#if defined(ETXTBSY)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1249[0]), Scm_MakeInteger(ETXTBSY), SCM_BINDING_CONST);

#endif /* defined(ETXTBSY) */
#if defined(EUCLEAN)
  scm__rc.d1251[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1252[0]))); /* EUCLEAN */
#endif /* defined(EUCLEAN) */
#if defined(EUCLEAN)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1251[0]), Scm_MakeInteger(EUCLEAN), SCM_BINDING_CONST);

#endif /* defined(EUCLEAN) */
#if defined(EUNATCH)
  scm__rc.d1253[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1254[0]))); /* EUNATCH */
#endif /* defined(EUNATCH) */
#if defined(EUNATCH)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1253[0]), Scm_MakeInteger(EUNATCH), SCM_BINDING_CONST);

#endif /* defined(EUNATCH) */
#if defined(EUSERS)
  scm__rc.d1255[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1256[0]))); /* EUSERS */
#endif /* defined(EUSERS) */
#if defined(EUSERS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1255[0]), Scm_MakeInteger(EUSERS), SCM_BINDING_CONST);

#endif /* defined(EUSERS) */
#if defined(EWOULDBLOCK)
  scm__rc.d1257[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1258[0]))); /* EWOULDBLOCK */
#endif /* defined(EWOULDBLOCK) */
#if defined(EWOULDBLOCK)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1257[0]), Scm_MakeInteger(EWOULDBLOCK), SCM_BINDING_CONST);

#endif /* defined(EWOULDBLOCK) */
#if defined(EXDEV)
  scm__rc.d1259[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1260[0]))); /* EXDEV */
#endif /* defined(EXDEV) */
#if defined(EXDEV)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1259[0]), Scm_MakeInteger(EXDEV), SCM_BINDING_CONST);

#endif /* defined(EXDEV) */
#if defined(EXFULL)
  scm__rc.d1261[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1262[0]))); /* EXFULL */
#endif /* defined(EXFULL) */
#if defined(EXFULL)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1261[0]), Scm_MakeInteger(EXFULL), SCM_BINDING_CONST);

#endif /* defined(EXFULL) */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-getgrgid")), SCM_OBJ(&syslib_sys_getgrgid__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-getgrnam")), SCM_OBJ(&syslib_sys_getgrnam__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-gid->group-name")), SCM_OBJ(&syslib_sys_gid_TOgroup_name__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-group-name->gid")), SCM_OBJ(&syslib_sys_group_name_TOgid__STUB), 0);
  scm__rc.d1004[3] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[12]))); /* LC_ALL */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[3]), Scm_MakeInteger(LC_ALL), SCM_BINDING_CONST);

  scm__rc.d1004[4] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[13]))); /* LC_COLLATE */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[4]), Scm_MakeInteger(LC_COLLATE), SCM_BINDING_CONST);

  scm__rc.d1004[5] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[14]))); /* LC_CTYPE */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[5]), Scm_MakeInteger(LC_CTYPE), SCM_BINDING_CONST);

  scm__rc.d1004[6] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[15]))); /* LC_MONETARY */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[6]), Scm_MakeInteger(LC_MONETARY), SCM_BINDING_CONST);

  scm__rc.d1004[7] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[16]))); /* LC_NUMERIC */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[7]), Scm_MakeInteger(LC_NUMERIC), SCM_BINDING_CONST);

  scm__rc.d1004[8] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[17]))); /* LC_TIME */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[8]), Scm_MakeInteger(LC_TIME), SCM_BINDING_CONST);

  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-setlocale")), SCM_OBJ(&syslib_sys_setlocale__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-getpwuid")), SCM_OBJ(&syslib_sys_getpwuid__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-getpwnam")), SCM_OBJ(&syslib_sys_getpwnam__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-uid->user-name")), SCM_OBJ(&syslib_sys_uid_TOuser_name__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-user-name->uid")), SCM_OBJ(&syslib_sys_user_name_TOuid__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-sigset-add!")), SCM_OBJ(&syslib_sys_sigset_addX__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-sigset-delete!")), SCM_OBJ(&syslib_sys_sigset_deleteX__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-sigset-fill!")), SCM_OBJ(&syslib_sys_sigset_fillX__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-sigset-empty!")), SCM_OBJ(&syslib_sys_sigset_emptyX__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-signal-name")), SCM_OBJ(&syslib_sys_signal_name__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-kill")), SCM_OBJ(&syslib_sys_kill__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("set-signal-handler!")), SCM_OBJ(&syslib_set_signal_handlerX__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("get-signal-handler")), SCM_OBJ(&syslib_get_signal_handler__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("get-signal-handler-mask")), SCM_OBJ(&syslib_get_signal_handler_mask__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("get-signal-handlers")), SCM_OBJ(&syslib_get_signal_handlers__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("set-signal-pending-limit")), SCM_OBJ(&syslib_set_signal_pending_limit__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("get-signal-pending-limit")), SCM_OBJ(&syslib_get_signal_pending_limit__STUB), 0);
  scm__rc.d1004[9] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[35]))); /* SIG_SETMASK */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[9]), Scm_MakeInteger(SIG_SETMASK), SCM_BINDING_CONST);

  scm__rc.d1004[10] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[36]))); /* SIG_BLOCK */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[10]), Scm_MakeInteger(SIG_BLOCK), SCM_BINDING_CONST);

  scm__rc.d1004[11] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[37]))); /* SIG_UNBLOCK */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[11]), Scm_MakeInteger(SIG_UNBLOCK), SCM_BINDING_CONST);

  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-sigmask")), SCM_OBJ(&syslib_sys_sigmask__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-sigsuspend")), SCM_OBJ(&syslib_sys_sigsuspend__STUB), 0);
#if defined HAVE_SIGWAIT
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-sigwait")), SCM_OBJ(&syslib_sys_sigwait__STUB), 0);
#endif /* defined HAVE_SIGWAIT */
#if defined HAVE_SIGWAIT
Scm_AddFeature("gauche.sys.sigwait", NULL);
#endif /* defined HAVE_SIGWAIT */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-remove")), SCM_OBJ(&syslib_sys_remove__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-rename")), SCM_OBJ(&syslib_sys_rename__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-tmpnam")), SCM_OBJ(&syslib_sys_tmpnam__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-mkstemp")), SCM_OBJ(&syslib_sys_mkstemp__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-exit")), SCM_OBJ(&syslib_sys_exit__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-getenv")), SCM_OBJ(&syslib_sys_getenv__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-system")), SCM_OBJ(&syslib_sys_system__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-random")), SCM_OBJ(&syslib_sys_random__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-srandom")), SCM_OBJ(&syslib_sys_srandom__STUB), 0);
  scm__rc.d1004[12] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[49]))); /* RAND_MAX */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[12]), Scm_MakeIntegerFromUI(RAND_MAX), SCM_BINDING_CONST);

  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-strerror")), SCM_OBJ(&syslib_sys_strerror__STUB), 0);
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-getrlimit")), SCM_OBJ(&syslib_sys_getrlimit__STUB), 0);
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-setrlimit")), SCM_OBJ(&syslib_sys_setrlimit__STUB), 0);
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#if defined(HAVE_SYS_RESOURCE_H)
Scm_AddFeature("gauche.sys.getrlimit", NULL);
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1265[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1264[2]))); /* RLIM_INFINITY */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1265[0]), MAKERLIMIT(RLIM_INFINITY), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#if defined(RLIMIT_AS)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1266[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1267[0]))); /* RLIMIT_AS */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_AS) */
#if defined(RLIMIT_AS)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1266[0]), Scm_MakeInteger(RLIMIT_AS), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_AS) */
#if defined(RLIMIT_CORE)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1268[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1269[0]))); /* RLIMIT_CORE */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_CORE) */
#if defined(RLIMIT_CORE)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1268[0]), Scm_MakeInteger(RLIMIT_CORE), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_CORE) */
#if defined(RLIMIT_CPU)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1270[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1271[0]))); /* RLIMIT_CPU */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_CPU) */
#if defined(RLIMIT_CPU)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1270[0]), Scm_MakeInteger(RLIMIT_CPU), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_CPU) */
#if defined(RLIMIT_DATA)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1272[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1273[0]))); /* RLIMIT_DATA */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_DATA) */
#if defined(RLIMIT_DATA)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1272[0]), Scm_MakeInteger(RLIMIT_DATA), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_DATA) */
#if defined(RLIMIT_FSIZE)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1274[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1275[0]))); /* RLIMIT_FSIZE */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_FSIZE) */
#if defined(RLIMIT_FSIZE)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1274[0]), Scm_MakeInteger(RLIMIT_FSIZE), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_FSIZE) */
#if defined(RLIMIT_LOCKS)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1276[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1277[0]))); /* RLIMIT_LOCKS */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_LOCKS) */
#if defined(RLIMIT_LOCKS)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1276[0]), Scm_MakeInteger(RLIMIT_LOCKS), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_LOCKS) */
#if defined(RLIMIT_MEMLOCK)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1278[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1279[0]))); /* RLIMIT_MEMLOCK */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_MEMLOCK) */
#if defined(RLIMIT_MEMLOCK)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1278[0]), Scm_MakeInteger(RLIMIT_MEMLOCK), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_MEMLOCK) */
#if defined(RLIMIT_MSGQUEUE)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1280[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1281[0]))); /* RLIMIT_MSGQUEUE */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_MSGQUEUE) */
#if defined(RLIMIT_MSGQUEUE)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1280[0]), Scm_MakeInteger(RLIMIT_MSGQUEUE), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_MSGQUEUE) */
#if defined(RLIMIT_NICE)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1282[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1283[0]))); /* RLIMIT_NICE */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_NICE) */
#if defined(RLIMIT_NICE)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1282[0]), Scm_MakeInteger(RLIMIT_NICE), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_NICE) */
#if defined(RLIMIT_NOFILE)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1284[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1285[0]))); /* RLIMIT_NOFILE */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_NOFILE) */
#if defined(RLIMIT_NOFILE)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1284[0]), Scm_MakeInteger(RLIMIT_NOFILE), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_NOFILE) */
#if defined(RLIMIT_NPROC)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1286[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1287[0]))); /* RLIMIT_NPROC */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_NPROC) */
#if defined(RLIMIT_NPROC)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1286[0]), Scm_MakeInteger(RLIMIT_NPROC), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_NPROC) */
#if defined(RLIMIT_RSS)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1288[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1289[0]))); /* RLIMIT_RSS */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_RSS) */
#if defined(RLIMIT_RSS)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1288[0]), Scm_MakeInteger(RLIMIT_RSS), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_RSS) */
#if defined(RLIMIT_RTPRIO)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1290[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1291[0]))); /* RLIMIT_RTPRIO */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_RTPRIO) */
#if defined(RLIMIT_RTPRIO)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1290[0]), Scm_MakeInteger(RLIMIT_RTPRIO), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_RTPRIO) */
#if defined(RLIMIT_SIGPENDING)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1292[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1293[0]))); /* RLIMIT_SIGPENDING */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_SIGPENDING) */
#if defined(RLIMIT_SIGPENDING)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1292[0]), Scm_MakeInteger(RLIMIT_SIGPENDING), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_SIGPENDING) */
#if defined(RLIMIT_SBSIZE)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1294[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1295[0]))); /* RLIMIT_SBSIZE */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_SBSIZE) */
#if defined(RLIMIT_SBSIZE)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1294[0]), Scm_MakeInteger(RLIMIT_SBSIZE), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_SBSIZE) */
#if defined(RLIMIT_STACK)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1296[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1297[0]))); /* RLIMIT_STACK */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_STACK) */
#if defined(RLIMIT_STACK)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1296[0]), Scm_MakeInteger(RLIMIT_STACK), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_STACK) */
#if defined(RLIMIT_OFILE)
#if defined(HAVE_SYS_RESOURCE_H)
  scm__rc.d1298[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1299[0]))); /* RLIMIT_OFILE */
#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_OFILE) */
#if defined(RLIMIT_OFILE)
#if defined(HAVE_SYS_RESOURCE_H)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1298[0]), Scm_MakeInteger(RLIMIT_OFILE), SCM_BINDING_CONST);

#endif /* defined(HAVE_SYS_RESOURCE_H) */
#endif /* defined(RLIMIT_OFILE) */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-stat")), SCM_OBJ(&syslib_sys_stat__STUB), 0);
#if !defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-lstat")), SCM_OBJ(&syslib_sys_lstat__STUB), 0);
#endif /* !defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-lstat")), SCM_OBJ(&syslib_sys_lstat__STUB), 0);
#endif /* defined(GAUCHE_WINDOWS) */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-fstat")), SCM_OBJ(&syslib_sys_fstat__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-wait")), SCM_OBJ(&syslib_sys_wait__STUB), 0);
  scm__rc.d1004[13] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1003[54]))); /* nohang */
  scm__rc.d1004[14] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1003[55]))); /* untraced */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-waitpid")), SCM_OBJ(&syslib_sys_waitpid__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-wait-exited?")), SCM_OBJ(&syslib_sys_wait_exitedP__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-wait-exit-status")), SCM_OBJ(&syslib_sys_wait_exit_status__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-wait-signaled?")), SCM_OBJ(&syslib_sys_wait_signaledP__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-wait-termsig")), SCM_OBJ(&syslib_sys_wait_termsig__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-wait-stopped?")), SCM_OBJ(&syslib_sys_wait_stoppedP__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-wait-stopsig")), SCM_OBJ(&syslib_sys_wait_stopsig__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-time")), SCM_OBJ(&syslib_sys_time__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-gettimeofday")), SCM_OBJ(&syslib_sys_gettimeofday__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("current-microseconds")), SCM_OBJ(&syslib_current_microseconds__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("current-time")), SCM_OBJ(&syslib_current_time__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("time?")), SCM_OBJ(&syslib_timeP__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("time->seconds")), SCM_OBJ(&syslib_time_TOseconds__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("seconds->time")), SCM_OBJ(&syslib_seconds_TOtime__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-asctime")), SCM_OBJ(&syslib_sys_asctime__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-ctime")), SCM_OBJ(&syslib_sys_ctime__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-difftime")), SCM_OBJ(&syslib_sys_difftime__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-strftime")), SCM_OBJ(&syslib_sys_strftime__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-gmtime")), SCM_OBJ(&syslib_sys_gmtime__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-localtime")), SCM_OBJ(&syslib_sys_localtime__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-mktime")), SCM_OBJ(&syslib_sys_mktime__STUB), 0);
  scm__rc.d1004[15] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[77]))); /* R_OK */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[15]), Scm_MakeInteger(R_OK), SCM_BINDING_CONST);

  scm__rc.d1004[16] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[78]))); /* W_OK */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[16]), Scm_MakeInteger(W_OK), SCM_BINDING_CONST);

  scm__rc.d1004[17] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[79]))); /* X_OK */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[17]), Scm_MakeInteger(X_OK), SCM_BINDING_CONST);

  scm__rc.d1004[18] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1003[80]))); /* F_OK */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(scm__rc.d1004[18]), Scm_MakeInteger(F_OK), SCM_BINDING_CONST);

  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-access")), SCM_OBJ(&syslib_sys_access__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-chdir")), SCM_OBJ(&syslib_sys_chdir__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-chmod")), SCM_OBJ(&syslib_sys_chmod__STUB), 0);
#if !defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-fchmod")), SCM_OBJ(&syslib_sys_fchmod__STUB), 0);
#endif /* !defined(GAUCHE_WINDOWS) */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-chown")), SCM_OBJ(&syslib_sys_chown__STUB), 0);
#if defined HAVE_LCHOWN
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-lchown")), SCM_OBJ(&syslib_sys_lchown__STUB), 0);
#endif /* defined HAVE_LCHOWN */
#if defined HAVE_LCHOWN
Scm_AddFeature("gauche.sys.lchown", NULL);
#endif /* defined HAVE_LCHOWN */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-fork")), SCM_OBJ(&syslib_sys_fork__STUB), 0);
  scm__rc.d1004[19] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1003[86]))); /* iomap */
  scm__rc.d1004[20] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1003[87]))); /* sigmask */
  scm__rc.d1004[21] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1003[88]))); /* directory */
  scm__rc.d1004[22] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1003[89]))); /* detached */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-exec")), SCM_OBJ(&syslib_sys_exec__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-fork-and-exec")), SCM_OBJ(&syslib_sys_fork_and_exec__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-getcwd")), SCM_OBJ(&syslib_sys_getcwd__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-getegid")), SCM_OBJ(&syslib_sys_getegid__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-getgid")), SCM_OBJ(&syslib_sys_getgid__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-geteuid")), SCM_OBJ(&syslib_sys_geteuid__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-getuid")), SCM_OBJ(&syslib_sys_getuid__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-getpid")), SCM_OBJ(&syslib_sys_getpid__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-getppid")), SCM_OBJ(&syslib_sys_getppid__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-link")), SCM_OBJ(&syslib_sys_link__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-pause")), SCM_OBJ(&syslib_sys_pause__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-alarm")), SCM_OBJ(&syslib_sys_alarm__STUB), 0);
  scm__rc.d1004[23] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1003[103]))); /* name */
  scm__rc.d1004[24] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1003[104]))); /* buffering */
  scm__rc.d1004[25] = Scm_MakeKeyword(SCM_STRING(SCM_OBJ(&scm__sc.d1003[105]))); /* buffered? */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-pipe")), SCM_OBJ(&syslib_sys_pipe__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-close")), SCM_OBJ(&syslib_sys_close__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-mkdir")), SCM_OBJ(&syslib_sys_mkdir__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-rmdir")), SCM_OBJ(&syslib_sys_rmdir__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-umask")), SCM_OBJ(&syslib_sys_umask__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-sleep")), SCM_OBJ(&syslib_sys_sleep__STUB), 0);
#if defined(HAVE_NANOSLEEP) || defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-nanosleep")), SCM_OBJ(&syslib_sys_nanosleep__STUB), 0);
#endif /* defined(HAVE_NANOSLEEP) || defined(GAUCHE_WINDOWS) */
#if defined(HAVE_NANOSLEEP) || defined(GAUCHE_WINDOWS)
Scm_AddFeature("gauche.sys.nanosleep", NULL);
#endif /* defined(HAVE_NANOSLEEP) || defined(GAUCHE_WINDOWS) */
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-unlink")), SCM_OBJ(&syslib_sys_unlink__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-isatty")), SCM_OBJ(&syslib_sys_isatty__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-ttyname")), SCM_OBJ(&syslib_sys_ttyname__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-truncate")), SCM_OBJ(&syslib_sys_truncate__STUB), 0);
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-ftruncate")), SCM_OBJ(&syslib_sys_ftruncate__STUB), 0);
#if defined(HAVE_CRYPT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-crypt")), SCM_OBJ(&syslib_sys_crypt__STUB), 0);
#endif /* defined(HAVE_CRYPT) */
#if defined(HAVE_CRYPT)
Scm_AddFeature("gauche.sys.crypt", NULL);
#endif /* defined(HAVE_CRYPT) */
#if defined(HAVE_SYMLINK)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-symlink")), SCM_OBJ(&syslib_sys_symlink__STUB), 0);
#endif /* defined(HAVE_SYMLINK) */
#if defined(HAVE_SYMLINK)
Scm_AddFeature("gauche.sys.symlink", NULL);
#endif /* defined(HAVE_SYMLINK) */
#if defined(HAVE_READLINK)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-readlink")), SCM_OBJ(&syslib_sys_readlink__STUB), 0);
#endif /* defined(HAVE_READLINK) */
#if defined(HAVE_READLINK)
Scm_AddFeature("gauche.sys.readlink", NULL);
#endif /* defined(HAVE_READLINK) */
#if defined(HAVE_SELECT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-fdset-ref")), SCM_OBJ(&syslib_sys_fdset_ref__STUB), 0);
  Scm_SetterSet(SCM_PROCEDURE(&syslib_sys_fdset_ref__STUB), SCM_PROCEDURE(&syslib_sys_fdset_setX__STUB), TRUE);
#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-fdset-set!")), SCM_OBJ(&syslib_sys_fdset_setX__STUB), 0);
#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-fdset-max-fd")), SCM_OBJ(&syslib_sys_fdset_max_fd__STUB), 0);
#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-fdset-clear!")), SCM_OBJ(&syslib_sys_fdset_clearX__STUB), 0);
#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-fdset-copy!")), SCM_OBJ(&syslib_sys_fdset_copyX__STUB), 0);
#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-select")), SCM_OBJ(&syslib_sys_select__STUB), 0);
#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-select!")), SCM_OBJ(&syslib_sys_selectX__STUB), 0);
#endif /* defined(HAVE_SELECT) */
#if defined(HAVE_SELECT)
Scm_AddFeature("gauche.sys.select", NULL);
#endif /* defined(HAVE_SELECT) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1310[0] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1303[1]))); /* handle-type */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  scm__rc.d1310[1] = Scm_Intern(SCM_STRING(SCM_OBJ(&scm__sc.d1303[2]))); /* process */
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)

#line 927 "syslib.stub"
WinHandleClass=(Scm_MakeForeignPointerClass(mod,"<win:handle>",handle_print,handle_cleanup,SCM_FOREIGN_POINTER_KEEP_IDENTITY));
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-win-process?")), SCM_OBJ(&syslib_sys_win_processP__STUB), 0);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-win-process-pid")), SCM_OBJ(&syslib_sys_win_process_pid__STUB), 0);
#endif /* defined(GAUCHE_WINDOWS) */
#if defined(GAUCHE_WINDOWS)
  Scm_MakeBinding(SCM_MODULE(mod), SCM_SYMBOL(SCM_INTERN("sys-get-osfhandle")), SCM_OBJ(&syslib_sys_get_osfhandle__STUB), 0);
#endif /* defined(GAUCHE_WINDOWS) */
}
