|
From: Matthew F. <fl...@ml...> - 2006-11-28 19:57:40
|
Include gen/basis-ffi.h and gen/basis-ffi.sml in sources. Eliminates a dependency on a working MLton compiler to build runtime. ---------------------------------------------------------------------- _U mlton/branches/on-20050822-x86_64-branch/runtime/gen/ U mlton/branches/on-20050822-x86_64-branch/runtime/gen/.ignore A mlton/branches/on-20050822-x86_64-branch/runtime/gen/basis-ffi.h A mlton/branches/on-20050822-x86_64-branch/runtime/gen/basis-ffi.sml U mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c ---------------------------------------------------------------------- Property changes on: mlton/branches/on-20050822-x86_64-branch/runtime/gen ___________________________________________________________________ Name: svn:ignore - basis-ffi.h basis-ffi.sml c-types.h c-types.sml ml-types.h + c-types.h c-types.sml ml-types.h Modified: mlton/branches/on-20050822-x86_64-branch/runtime/gen/.ignore =================================================================== --- mlton/branches/on-20050822-x86_64-branch/runtime/gen/.ignore 2006-11-29 03:24:55 UTC (rev 4869) +++ mlton/branches/on-20050822-x86_64-branch/runtime/gen/.ignore 2006-11-29 03:57:38 UTC (rev 4870) @@ -1,5 +1,3 @@ -basis-ffi.h -basis-ffi.sml c-types.h c-types.sml ml-types.h Added: mlton/branches/on-20050822-x86_64-branch/runtime/gen/basis-ffi.h =================================================================== --- mlton/branches/on-20050822-x86_64-branch/runtime/gen/basis-ffi.h 2006-11-29 03:24:55 UTC (rev 4869) +++ mlton/branches/on-20050822-x86_64-branch/runtime/gen/basis-ffi.h 2006-11-29 03:57:38 UTC (rev 4870) @@ -0,0 +1,1151 @@ +/* This file is automatically generated. Do not edit. */ + + +#ifndef _MLTON_BASIS_FFI_H_ + +#define _MLTON_BASIS_FFI_H_ + +extern C_Int_t CommandLine_argc; +extern C_StringArray_t CommandLine_argv; +extern C_String_t CommandLine_commandName; +C_String_t Cygwin_toFullWindowsPath(NullString8_t); +C_Errno_t(C_Int_t) Date_gmTime(Ref(C_Time_t)); +C_Double_t Date_localOffset(void); +C_Errno_t(C_Int_t) Date_localTime(Ref(C_Time_t)); +C_Errno_t(C_Time_t) Date_mkTime(void); +C_Size_t Date_strfTime(Array(Char8_t),C_Size_t,NullString8_t); +C_Int_t Date_Tm_getHour(void); +C_Int_t Date_Tm_getIsDst(void); +C_Int_t Date_Tm_getMDay(void); +C_Int_t Date_Tm_getMin(void); +C_Int_t Date_Tm_getMon(void); +C_Int_t Date_Tm_getSec(void); +C_Int_t Date_Tm_getWDay(void); +C_Int_t Date_Tm_getYDay(void); +C_Int_t Date_Tm_getYear(void); +void Date_Tm_setHour(C_Int_t); +void Date_Tm_setIsDst(C_Int_t); +void Date_Tm_setMDay(C_Int_t); +void Date_Tm_setMin(C_Int_t); +void Date_Tm_setMon(C_Int_t); +void Date_Tm_setSec(C_Int_t); +void Date_Tm_setWDay(C_Int_t); +void Date_Tm_setYDay(C_Int_t); +void Date_Tm_setYear(C_Int_t); +extern const C_Int_t IEEEReal_FloatClass_FP_INFINITE; +extern const C_Int_t IEEEReal_FloatClass_FP_NAN; +extern const C_Int_t IEEEReal_FloatClass_FP_NORMAL; +extern const C_Int_t IEEEReal_FloatClass_FP_SUBNORMAL; +extern const C_Int_t IEEEReal_FloatClass_FP_ZERO; +C_Int_t IEEEReal_getRoundingMode(void); +extern const C_Int_t IEEEReal_RoundingMode_FE_DOWNWARD; +extern const C_Int_t IEEEReal_RoundingMode_FE_NOSUPPORT; +extern const C_Int_t IEEEReal_RoundingMode_FE_TONEAREST; +extern const C_Int_t IEEEReal_RoundingMode_FE_TOWARDZERO; +extern const C_Int_t IEEEReal_RoundingMode_FE_UPWARD; +void IEEEReal_setRoundingMode(C_Int_t); +__attribute__((noreturn)) void MLton_bug(NullString8_t); +extern const C_Int_t MLton_Itimer_PROF; +extern const C_Int_t MLton_Itimer_REAL; +C_Errno_t(C_Int_t) MLton_Itimer_set(C_Int_t,C_Time_t,C_SUSeconds_t,C_Time_t,C_SUSeconds_t); +extern const C_Int_t MLton_Itimer_VIRTUAL; +C_Errno_t(C_PId_t) MLton_Process_cwait(C_PId_t,Ref(C_Status_t)); +C_Errno_t(C_Int_t) MLton_Process_spawne(NullString8_t,String8_t,Array(C_Pointer_t),Vector(C_Size_t),String8_t,Array(C_Pointer_t),Vector(C_Size_t)); +C_Errno_t(C_Int_t) MLton_Process_spawnp(NullString8_t,String8_t,Array(C_Pointer_t),Vector(C_Size_t)); +extern const C_Int_t MLton_Rlimit_AS; +extern const C_Int_t MLton_Rlimit_CORE; +extern const C_Int_t MLton_Rlimit_CPU; +extern const C_Int_t MLton_Rlimit_DATA; +extern const C_Int_t MLton_Rlimit_FSIZE; +C_Errno_t(C_Int_t) MLton_Rlimit_get(C_Int_t); +C_RLim_t MLton_Rlimit_getHard(void); +C_RLim_t MLton_Rlimit_getSoft(void); +extern const C_RLim_t MLton_Rlimit_INFINITY; +extern const C_Int_t MLton_Rlimit_NOFILE; +C_Errno_t(C_Int_t) MLton_Rlimit_set(C_Int_t,C_RLim_t,C_RLim_t); +extern const C_Int_t MLton_Rlimit_STACK; +C_Time_t MLton_Rusage_children_stime_sec(void); +C_SUSeconds_t MLton_Rusage_children_stime_usec(void); +C_Time_t MLton_Rusage_children_utime_sec(void); +C_SUSeconds_t MLton_Rusage_children_utime_usec(void); +C_Time_t MLton_Rusage_gc_stime_sec(void); +C_SUSeconds_t MLton_Rusage_gc_stime_usec(void); +C_Time_t MLton_Rusage_gc_utime_sec(void); +C_SUSeconds_t MLton_Rusage_gc_utime_usec(void); +void MLton_Rusage_getrusage(void); +C_Time_t MLton_Rusage_self_stime_sec(void); +C_SUSeconds_t MLton_Rusage_self_stime_usec(void); +C_Time_t MLton_Rusage_self_utime_sec(void); +C_SUSeconds_t MLton_Rusage_self_utime_usec(void); +void MLton_Syslog_closelog(void); +extern const C_Int_t MLton_Syslog_Facility_LOG_AUTH; +extern const C_Int_t MLton_Syslog_Facility_LOG_CRON; +extern const C_Int_t MLton_Syslog_Facility_LOG_DAEMON; +extern const C_Int_t MLton_Syslog_Facility_LOG_KERN; +extern const C_Int_t MLton_Syslog_Facility_LOG_LOCAL0; +extern const C_Int_t MLton_Syslog_Facility_LOG_LOCAL1; +extern const C_Int_t MLton_Syslog_Facility_LOG_LOCAL2; +extern const C_Int_t MLton_Syslog_Facility_LOG_LOCAL3; +extern const C_Int_t MLton_Syslog_Facility_LOG_LOCAL4; +extern const C_Int_t MLton_Syslog_Facility_LOG_LOCAL5; +extern const C_Int_t MLton_Syslog_Facility_LOG_LOCAL6; +extern const C_Int_t MLton_Syslog_Facility_LOG_LOCAL7; +extern const C_Int_t MLton_Syslog_Facility_LOG_LPR; +extern const C_Int_t MLton_Syslog_Facility_LOG_MAIL; +extern const C_Int_t MLton_Syslog_Facility_LOG_NEWS; +extern const C_Int_t MLton_Syslog_Facility_LOG_USER; +extern const C_Int_t MLton_Syslog_Facility_LOG_UUCP; +extern const C_Int_t MLton_Syslog_Logopt_LOG_CONS; +extern const C_Int_t MLton_Syslog_Logopt_LOG_NDELAY; +extern const C_Int_t MLton_Syslog_Logopt_LOG_NOWAIT; +extern const C_Int_t MLton_Syslog_Logopt_LOG_ODELAY; +extern const C_Int_t MLton_Syslog_Logopt_LOG_PID; +void MLton_Syslog_openlog(NullString8_t,C_Int_t,C_Int_t); +extern const C_Int_t MLton_Syslog_Severity_LOG_ALERT; +extern const C_Int_t MLton_Syslog_Severity_LOG_CRIT; +extern const C_Int_t MLton_Syslog_Severity_LOG_DEBUG; +extern const C_Int_t MLton_Syslog_Severity_LOG_EMERG; +extern const C_Int_t MLton_Syslog_Severity_LOG_ERR; +extern const C_Int_t MLton_Syslog_Severity_LOG_INFO; +extern const C_Int_t MLton_Syslog_Severity_LOG_NOTICE; +extern const C_Int_t MLton_Syslog_Severity_LOG_WARNING; +void MLton_Syslog_syslog(C_Int_t,NullString8_t); +Word32_t Net_htonl(Word32_t); +Word16_t Net_htons(Word16_t); +Word32_t Net_ntohl(Word32_t); +Word16_t Net_ntohs(Word16_t); +C_Int_t NetHostDB_getByAddress(Vector(Word8_t),C_Socklen_t); +C_Int_t NetHostDB_getByName(NullString8_t); +void NetHostDB_getEntryAddrsN(C_Int_t,Array(Word8_t)); +C_Int_t NetHostDB_getEntryAddrsNum(void); +C_Int_t NetHostDB_getEntryAddrType(void); +C_String_t NetHostDB_getEntryAliasesN(C_Int_t); +C_Int_t NetHostDB_getEntryAliasesNum(void); +C_Int_t NetHostDB_getEntryLength(void); +C_String_t NetHostDB_getEntryName(void); +C_Errno_t(C_Int_t) NetHostDB_getHostName(Array(Char8_t),C_Size_t); +extern const C_Int_t NetHostDB_INADDR_ANY; +extern const C_Size_t NetHostDB_inAddrSize; +C_Int_t NetProtDB_getByName(NullString8_t); +C_Int_t NetProtDB_getByNumber(C_Int_t); +C_String_t NetProtDB_getEntryAliasesN(C_Int_t); +C_Int_t NetProtDB_getEntryAliasesNum(void); +C_String_t NetProtDB_getEntryName(void); +C_Int_t NetProtDB_getEntryProto(void); +C_Int_t NetServDB_getByName(NullString8_t,NullString8_t); +C_Int_t NetServDB_getByNameNull(NullString8_t); +C_Int_t NetServDB_getByPort(C_Int_t,NullString8_t); +C_Int_t NetServDB_getByPortNull(C_Int_t); +C_String_t NetServDB_getEntryAliasesN(C_Int_t); +C_Int_t NetServDB_getEntryAliasesNum(void); +C_String_t NetServDB_getEntryName(void); +C_Int_t NetServDB_getEntryPort(void); +C_String_t NetServDB_getEntryProto(void); +C_Errno_t(C_Int_t) OS_IO_poll(Vector(C_Fd_t),Vector(C_Short_t),C_NFds_t,C_Int_t,Array(C_Short_t)); +extern const C_Short_t OS_IO_POLLIN; +extern const C_Short_t OS_IO_POLLOUT; +extern const C_Short_t OS_IO_POLLPRI; +Real32_t PackReal32_subArr(Array(Word8_t),C_Ptrdiff_t); +Real32_t PackReal32_subArrRev(Array(Word8_t),C_Ptrdiff_t); +Real32_t PackReal32_subVec(Vector(Word8_t),C_Ptrdiff_t); +Real32_t PackReal32_subVecRev(Vector(Word8_t),C_Ptrdiff_t); +void PackReal32_update(Array(Word8_t),C_Ptrdiff_t,Real32_t); +void PackReal32_updateRev(Array(Word8_t),C_Ptrdiff_t,Real32_t); +Real64_t PackReal64_subArr(Array(Word8_t),C_Ptrdiff_t); +Real64_t PackReal64_subArrRev(Array(Word8_t),C_Ptrdiff_t); +Real64_t PackReal64_subVec(Vector(Word8_t),C_Ptrdiff_t); +Real64_t PackReal64_subVecRev(Vector(Word8_t),C_Ptrdiff_t); +void PackReal64_update(Array(Word8_t),C_Ptrdiff_t,Real64_t); +void PackReal64_updateRev(Array(Word8_t),C_Ptrdiff_t,Real64_t); +Word16_t PackWord16_subArr(Array(Word8_t),C_Ptrdiff_t); +Word16_t PackWord16_subArrRev(Array(Word8_t),C_Ptrdiff_t); +Word16_t PackWord16_subVec(Vector(Word8_t),C_Ptrdiff_t); +Word16_t PackWord16_subVecRev(Vector(Word8_t),C_Ptrdiff_t); +void PackWord16_update(Array(Word8_t),C_Ptrdiff_t,Word16_t); +void PackWord16_updateRev(Array(Word8_t),C_Ptrdiff_t,Word16_t); +Word32_t PackWord32_subArr(Array(Word8_t),C_Ptrdiff_t); +Word32_t PackWord32_subArrRev(Array(Word8_t),C_Ptrdiff_t); +Word32_t PackWord32_subVec(Vector(Word8_t),C_Ptrdiff_t); +Word32_t PackWord32_subVecRev(Vector(Word8_t),C_Ptrdiff_t); +void PackWord32_update(Array(Word8_t),C_Ptrdiff_t,Word32_t); +void PackWord32_updateRev(Array(Word8_t),C_Ptrdiff_t,Word32_t); +Word64_t PackWord64_subArr(Array(Word8_t),C_Ptrdiff_t); +Word64_t PackWord64_subArrRev(Array(Word8_t),C_Ptrdiff_t); +Word64_t PackWord64_subVec(Vector(Word8_t),C_Ptrdiff_t); +Word64_t PackWord64_subVecRev(Vector(Word8_t),C_Ptrdiff_t); +void PackWord64_update(Array(Word8_t),C_Ptrdiff_t,Word64_t); +void PackWord64_updateRev(Array(Word8_t),C_Ptrdiff_t,Word64_t); +Word8_t PackWord8_subArr(Array(Word8_t),C_Ptrdiff_t); +Word8_t PackWord8_subArrRev(Array(Word8_t),C_Ptrdiff_t); +Word8_t PackWord8_subVec(Vector(Word8_t),C_Ptrdiff_t); +Word8_t PackWord8_subVecRev(Vector(Word8_t),C_Ptrdiff_t); +void PackWord8_update(Array(Word8_t),C_Ptrdiff_t,Word8_t); +void PackWord8_updateRev(Array(Word8_t),C_Ptrdiff_t,Word8_t); +void Posix_Error_clearErrno(void); +extern const C_Int_t Posix_Error_E2BIG; +extern const C_Int_t Posix_Error_EACCES; +extern const C_Int_t Posix_Error_EADDRINUSE; +extern const C_Int_t Posix_Error_EADDRNOTAVAIL; +extern const C_Int_t Posix_Error_EAFNOSUPPORT; +extern const C_Int_t Posix_Error_EAGAIN; +extern const C_Int_t Posix_Error_EALREADY; +extern const C_Int_t Posix_Error_EBADF; +extern const C_Int_t Posix_Error_EBADMSG; +extern const C_Int_t Posix_Error_EBUSY; +extern const C_Int_t Posix_Error_ECANCELED; +extern const C_Int_t Posix_Error_ECHILD; +extern const C_Int_t Posix_Error_ECONNABORTED; +extern const C_Int_t Posix_Error_ECONNREFUSED; +extern const C_Int_t Posix_Error_ECONNRESET; +extern const C_Int_t Posix_Error_EDEADLK; +extern const C_Int_t Posix_Error_EDESTADDRREQ; +extern const C_Int_t Posix_Error_EDOM; +extern const C_Int_t Posix_Error_EDQUOT; +extern const C_Int_t Posix_Error_EEXIST; +extern const C_Int_t Posix_Error_EFAULT; +extern const C_Int_t Posix_Error_EFBIG; +extern const C_Int_t Posix_Error_EHOSTUNREACH; +extern const C_Int_t Posix_Error_EIDRM; +extern const C_Int_t Posix_Error_EILSEQ; +extern const C_Int_t Posix_Error_EINPROGRESS; +extern const C_Int_t Posix_Error_EINTR; +extern const C_Int_t Posix_Error_EINVAL; +extern const C_Int_t Posix_Error_EIO; +extern const C_Int_t Posix_Error_EISCONN; +extern const C_Int_t Posix_Error_EISDIR; +extern const C_Int_t Posix_Error_ELOOP; +extern const C_Int_t Posix_Error_EMFILE; +extern const C_Int_t Posix_Error_EMLINK; +extern const C_Int_t Posix_Error_EMSGSIZE; +extern const C_Int_t Posix_Error_EMULTIHOP; +extern const C_Int_t Posix_Error_ENAMETOOLONG; +extern const C_Int_t Posix_Error_ENETDOWN; +extern const C_Int_t Posix_Error_ENETRESET; +extern const C_Int_t Posix_Error_ENETUNREACH; +extern const C_Int_t Posix_Error_ENFILE; +extern const C_Int_t Posix_Error_ENOBUFS; +extern const C_Int_t Posix_Error_ENODATA; +extern const C_Int_t Posix_Error_ENODEV; +extern const C_Int_t Posix_Error_ENOENT; +extern const C_Int_t Posix_Error_ENOEXEC; +extern const C_Int_t Posix_Error_ENOLCK; +extern const C_Int_t Posix_Error_ENOLINK; +extern const C_Int_t Posix_Error_ENOMEM; +extern const C_Int_t Posix_Error_ENOMSG; +extern const C_Int_t Posix_Error_ENOPROTOOPT; +extern const C_Int_t Posix_Error_ENOSPC; +extern const C_Int_t Posix_Error_ENOSR; +extern const C_Int_t Posix_Error_ENOSTR; +extern const C_Int_t Posix_Error_ENOSYS; +extern const C_Int_t Posix_Error_ENOTCONN; +extern const C_Int_t Posix_Error_ENOTDIR; +extern const C_Int_t Posix_Error_ENOTEMPTY; +extern const C_Int_t Posix_Error_ENOTSOCK; +extern const C_Int_t Posix_Error_ENOTSUP; +extern const C_Int_t Posix_Error_ENOTTY; +extern const C_Int_t Posix_Error_ENXIO; +extern const C_Int_t Posix_Error_EOPNOTSUPP; +extern const C_Int_t Posix_Error_EOVERFLOW; +extern const C_Int_t Posix_Error_EPERM; +extern const C_Int_t Posix_Error_EPIPE; +extern const C_Int_t Posix_Error_EPROTO; +extern const C_Int_t Posix_Error_EPROTONOSUPPORT; +extern const C_Int_t Posix_Error_EPROTOTYPE; +extern const C_Int_t Posix_Error_ERANGE; +extern const C_Int_t Posix_Error_EROFS; +extern const C_Int_t Posix_Error_ESPIPE; +extern const C_Int_t Posix_Error_ESRCH; +extern const C_Int_t Posix_Error_ESTALE; +extern const C_Int_t Posix_Error_ETIME; +extern const C_Int_t Posix_Error_ETIMEDOUT; +extern const C_Int_t Posix_Error_ETXTBSY; +extern const C_Int_t Posix_Error_EWOULDBLOCK; +extern const C_Int_t Posix_Error_EXDEV; +C_Int_t Posix_Error_getErrno(void); +C_String_t Posix_Error_strError(C_Int_t); +extern const C_Int_t Posix_FileSys_A_F_OK; +extern const C_Int_t Posix_FileSys_A_R_OK; +extern const C_Int_t Posix_FileSys_A_W_OK; +extern const C_Int_t Posix_FileSys_A_X_OK; +C_Errno_t(C_Int_t) Posix_FileSys_access(NullString8_t,C_Int_t); +C_Errno_t(C_Int_t) Posix_FileSys_chdir(NullString8_t); +C_Errno_t(C_Int_t) Posix_FileSys_chmod(NullString8_t,C_Mode_t); +C_Errno_t(C_Int_t) Posix_FileSys_chown(NullString8_t,C_UId_t,C_GId_t); +C_Errno_t(C_Int_t) Posix_FileSys_Dirstream_closeDir(C_DirP_t); +C_Errno_t(C_DirP_t) Posix_FileSys_Dirstream_openDir(NullString8_t); +C_Errno_t(C_String_t) Posix_FileSys_Dirstream_readDir(C_DirP_t); +void Posix_FileSys_Dirstream_rewindDir(C_DirP_t); +C_Errno_t(C_Int_t) Posix_FileSys_fchdir(C_Fd_t); +C_Errno_t(C_Int_t) Posix_FileSys_fchmod(C_Fd_t,C_Mode_t); +C_Errno_t(C_Int_t) Posix_FileSys_fchown(C_Fd_t,C_UId_t,C_GId_t); +C_Errno_t(C_Long_t) Posix_FileSys_fpathconf(C_Fd_t,C_Int_t); +C_Errno_t(C_Int_t) Posix_FileSys_ftruncate(C_Fd_t,C_Off_t); +C_Errno_t(C_String_t) Posix_FileSys_getcwd(Array(Char8_t),C_Size_t); +C_Errno_t(C_Int_t) Posix_FileSys_link(NullString8_t,NullString8_t); +C_Errno_t(C_Int_t) Posix_FileSys_mkdir(NullString8_t,C_Mode_t); +C_Errno_t(C_Int_t) Posix_FileSys_mkfifo(NullString8_t,C_Mode_t); +extern const C_Int_t Posix_FileSys_O_APPEND; +extern const C_Int_t Posix_FileSys_O_BINARY; +extern const C_Int_t Posix_FileSys_O_CREAT; +extern const C_Int_t Posix_FileSys_O_DSYNC; +extern const C_Int_t Posix_FileSys_O_EXCL; +extern const C_Int_t Posix_FileSys_O_NOCTTY; +extern const C_Int_t Posix_FileSys_O_NONBLOCK; +extern const C_Int_t Posix_FileSys_O_RDONLY; +extern const C_Int_t Posix_FileSys_O_RDWR; +extern const C_Int_t Posix_FileSys_O_RSYNC; +extern const C_Int_t Posix_FileSys_O_SYNC; +extern const C_Int_t Posix_FileSys_O_TEXT; +extern const C_Int_t Posix_FileSys_O_TRUNC; +extern const C_Int_t Posix_FileSys_O_WRONLY; +C_Errno_t(C_Fd_t) Posix_FileSys_open2(NullString8_t,C_Int_t); +C_Errno_t(C_Fd_t) Posix_FileSys_open3(NullString8_t,C_Int_t,C_Mode_t); +C_Errno_t(C_Long_t) Posix_FileSys_pathconf(NullString8_t,C_Int_t); +extern const C_Int_t Posix_FileSys_PC_ALLOC_SIZE_MIN; +extern const C_Int_t Posix_FileSys_PC_ASYNC_IO; +extern const C_Int_t Posix_FileSys_PC_CHOWN_RESTRICTED; +extern const C_Int_t Posix_FileSys_PC_FILESIZEBITS; +extern const C_Int_t Posix_FileSys_PC_LINK_MAX; +extern const C_Int_t Posix_FileSys_PC_MAX_CANON; +extern const C_Int_t Posix_FileSys_PC_MAX_INPUT; +extern const C_Int_t Posix_FileSys_PC_NAME_MAX; +extern const C_Int_t Posix_FileSys_PC_NO_TRUNC; +extern const C_Int_t Posix_FileSys_PC_PATH_MAX; +extern const C_Int_t Posix_FileSys_PC_PIPE_BUF; +extern const C_Int_t Posix_FileSys_PC_PRIO_IO; +extern const C_Int_t Posix_FileSys_PC_REC_INCR_XFER_SIZE; +extern const C_Int_t Posix_FileSys_PC_REC_MAX_XFER_SIZE; +extern const C_Int_t Posix_FileSys_PC_REC_MIN_XFER_SIZE; +extern const C_Int_t Posix_FileSys_PC_REC_XFER_ALIGN; +extern const C_Int_t Posix_FileSys_PC_SYMLINK_MAX; +extern const C_Int_t Posix_FileSys_PC_SYNC_IO; +extern const C_Int_t Posix_FileSys_PC_TWO_SYMLINKS; +extern const C_Int_t Posix_FileSys_PC_VDISABLE; +C_Errno_t(C_SSize_t) Posix_FileSys_readlink(NullString8_t,Array(Char8_t),C_Size_t); +C_Errno_t(C_Int_t) Posix_FileSys_rename(NullString8_t,NullString8_t); +C_Errno_t(C_Int_t) Posix_FileSys_rmdir(NullString8_t); +extern const C_Mode_t Posix_FileSys_S_IFBLK; +extern const C_Mode_t Posix_FileSys_S_IFCHR; +extern const C_Mode_t Posix_FileSys_S_IFDIR; +extern const C_Mode_t Posix_FileSys_S_IFIFO; +extern const C_Mode_t Posix_FileSys_S_IFLNK; +extern const C_Mode_t Posix_FileSys_S_IFMT; +extern const C_Mode_t Posix_FileSys_S_IFREG; +extern const C_Mode_t Posix_FileSys_S_IFSOCK; +extern const C_Mode_t Posix_FileSys_S_IRGRP; +extern const C_Mode_t Posix_FileSys_S_IROTH; +extern const C_Mode_t Posix_FileSys_S_IRUSR; +extern const C_Mode_t Posix_FileSys_S_IRWXG; +extern const C_Mode_t Posix_FileSys_S_IRWXO; +extern const C_Mode_t Posix_FileSys_S_IRWXU; +extern const C_Mode_t Posix_FileSys_S_ISGID; +extern const C_Mode_t Posix_FileSys_S_ISUID; +extern const C_Mode_t Posix_FileSys_S_ISVTX; +extern const C_Mode_t Posix_FileSys_S_IWGRP; +extern const C_Mode_t Posix_FileSys_S_IWOTH; +extern const C_Mode_t Posix_FileSys_S_IWUSR; +extern const C_Mode_t Posix_FileSys_S_IXGRP; +extern const C_Mode_t Posix_FileSys_S_IXOTH; +extern const C_Mode_t Posix_FileSys_S_IXUSR; +C_Int_t Posix_FileSys_ST_isBlk(C_Mode_t); +C_Int_t Posix_FileSys_ST_isChr(C_Mode_t); +C_Int_t Posix_FileSys_ST_isDir(C_Mode_t); +C_Int_t Posix_FileSys_ST_isFIFO(C_Mode_t); +C_Int_t Posix_FileSys_ST_isLink(C_Mode_t); +C_Int_t Posix_FileSys_ST_isReg(C_Mode_t); +C_Int_t Posix_FileSys_ST_isSock(C_Mode_t); +C_Errno_t(C_Int_t) Posix_FileSys_Stat_fstat(C_Fd_t); +C_Time_t Posix_FileSys_Stat_getATime(void); +C_Time_t Posix_FileSys_Stat_getCTime(void); +C_Dev_t Posix_FileSys_Stat_getDev(void); +C_GId_t Posix_FileSys_Stat_getGId(void); +C_INo_t Posix_FileSys_Stat_getINo(void); +C_Mode_t Posix_FileSys_Stat_getMode(void); +C_Time_t Posix_FileSys_Stat_getMTime(void); +C_NLink_t Posix_FileSys_Stat_getNLink(void); +C_Dev_t Posix_FileSys_Stat_getRDev(void); +C_Off_t Posix_FileSys_Stat_getSize(void); +C_UId_t Posix_FileSys_Stat_getUId(void); +C_Errno_t(C_Int_t) Posix_FileSys_Stat_lstat(NullString8_t); +C_Errno_t(C_Int_t) Posix_FileSys_Stat_stat(NullString8_t); +C_Errno_t(C_Int_t) Posix_FileSys_symlink(NullString8_t,NullString8_t); +C_Errno_t(C_Int_t) Posix_FileSys_truncate(NullString8_t,C_Off_t); +C_Mode_t Posix_FileSys_umask(C_Mode_t); +C_Errno_t(C_Int_t) Posix_FileSys_unlink(NullString8_t); +void Posix_FileSys_Utimbuf_setAcTime(C_Time_t); +void Posix_FileSys_Utimbuf_setModTime(C_Time_t); +C_Errno_t(C_Int_t) Posix_FileSys_Utimbuf_utime(NullString8_t); +C_Errno_t(C_Int_t) Posix_IO_close(C_Fd_t); +C_Errno_t(C_Fd_t) Posix_IO_dup(C_Fd_t); +C_Errno_t(C_Fd_t) Posix_IO_dup2(C_Fd_t,C_Fd_t); +extern const C_Int_t Posix_IO_F_DUPFD; +extern const C_Int_t Posix_IO_F_GETFD; +extern const C_Int_t Posix_IO_F_GETFL; +extern const C_Int_t Posix_IO_F_GETOWN; +extern const C_Int_t Posix_IO_F_SETFD; +extern const C_Int_t Posix_IO_F_SETFL; +extern const C_Int_t Posix_IO_F_SETOWN; +C_Errno_t(C_Int_t) Posix_IO_fcntl2(C_Fd_t,C_Int_t); +C_Errno_t(C_Int_t) Posix_IO_fcntl3(C_Fd_t,C_Int_t,C_Int_t); +extern const C_Int_t Posix_IO_FD_CLOEXEC; +extern const C_Int_t Posix_IO_FLock_F_GETLK; +extern const C_Short_t Posix_IO_FLock_F_RDLCK; +extern const C_Int_t Posix_IO_FLock_F_SETLK; +extern const C_Int_t Posix_IO_FLock_F_SETLKW; +extern const C_Short_t Posix_IO_FLock_F_UNLCK; +extern const C_Short_t Posix_IO_FLock_F_WRLCK; +C_Errno_t(C_Int_t) Posix_IO_FLock_fcntl(C_Fd_t,C_Int_t); +C_Off_t Posix_IO_FLock_getLen(void); +C_PId_t Posix_IO_FLock_getPId(void); +C_Off_t Posix_IO_FLock_getStart(void); +C_Short_t Posix_IO_FLock_getType(void); +C_Short_t Posix_IO_FLock_getWhence(void); +extern const C_Short_t Posix_IO_FLock_SEEK_CUR; +extern const C_Short_t Posix_IO_FLock_SEEK_END; +extern const C_Short_t Posix_IO_FLock_SEEK_SET; +void Posix_IO_FLock_setLen(C_Off_t); +void Posix_IO_FLock_setPId(C_PId_t); +void Posix_IO_FLock_setStart(C_Off_t); +void Posix_IO_FLock_setType(C_Short_t); +void Posix_IO_FLock_setWhence(C_Short_t); +C_Errno_t(C_Int_t) Posix_IO_fsync(C_Fd_t); +C_Errno_t(C_Off_t) Posix_IO_lseek(C_Fd_t,C_Off_t,C_Int_t); +extern const C_Int_t Posix_IO_O_ACCMODE; +C_Errno_t(C_Int_t) Posix_IO_pipe(Array(C_Fd_t)); +C_Errno_t(C_SSize_t) Posix_IO_readChar8(C_Fd_t,Array(Char8_t),C_Int_t,C_Size_t); +C_Errno_t(C_SSize_t) Posix_IO_readWord8(C_Fd_t,Array(Word8_t),C_Int_t,C_Size_t); +extern const C_Int_t Posix_IO_SEEK_CUR; +extern const C_Int_t Posix_IO_SEEK_END; +extern const C_Int_t Posix_IO_SEEK_SET; +void Posix_IO_setbin(C_Fd_t); +void Posix_IO_settext(C_Fd_t); +C_Errno_t(C_SSize_t) Posix_IO_writeChar8Arr(C_Fd_t,Array(Char8_t),C_Int_t,C_Size_t); +C_Errno_t(C_SSize_t) Posix_IO_writeChar8Vec(C_Fd_t,Vector(Char8_t),C_Int_t,C_Size_t); +C_Errno_t(C_SSize_t) Posix_IO_writeWord8Arr(C_Fd_t,Array(Word8_t),C_Int_t,C_Size_t); +C_Errno_t(C_SSize_t) Posix_IO_writeWord8Vec(C_Fd_t,Vector(Word8_t),C_Int_t,C_Size_t); +C_String_t Posix_ProcEnv_ctermid(void); +extern C_StringArray_t Posix_ProcEnv_environ; +C_GId_t Posix_ProcEnv_getegid(void); +C_String_t Posix_ProcEnv_getenv(NullString8_t); +C_UId_t Posix_ProcEnv_geteuid(void); +C_GId_t Posix_ProcEnv_getgid(void); +C_Errno_t(C_Int_t) Posix_ProcEnv_getgroups(C_Int_t,Array(C_GId_t)); +C_Int_t Posix_ProcEnv_getgroupsN(void); +C_Errno_t(C_String_t) Posix_ProcEnv_getlogin(void); +C_PId_t Posix_ProcEnv_getpgrp(void); +C_PId_t Posix_ProcEnv_getpid(void); +C_PId_t Posix_ProcEnv_getppid(void); +C_UId_t Posix_ProcEnv_getuid(void); +C_Int_t Posix_ProcEnv_isatty(C_Fd_t); +extern const C_Int_t Posix_ProcEnv_SC_2_C_BIND; +extern const C_Int_t Posix_ProcEnv_SC_2_C_DEV; +extern const C_Int_t Posix_ProcEnv_SC_2_CHAR_TERM; +extern const C_Int_t Posix_ProcEnv_SC_2_FORT_DEV; +extern const C_Int_t Posix_ProcEnv_SC_2_FORT_RUN; +extern const C_Int_t Posix_ProcEnv_SC_2_LOCALEDEF; +extern const C_Int_t Posix_ProcEnv_SC_2_PBS; +extern const C_Int_t Posix_ProcEnv_SC_2_PBS_ACCOUNTING; +extern const C_Int_t Posix_ProcEnv_SC_2_PBS_CHECKPOINT; +extern const C_Int_t Posix_ProcEnv_SC_2_PBS_LOCATE; +extern const C_Int_t Posix_ProcEnv_SC_2_PBS_MESSAGE; +extern const C_Int_t Posix_ProcEnv_SC_2_PBS_TRACK; +extern const C_Int_t Posix_ProcEnv_SC_2_SW_DEV; +extern const C_Int_t Posix_ProcEnv_SC_2_UPE; +extern const C_Int_t Posix_ProcEnv_SC_2_VERSION; +extern const C_Int_t Posix_ProcEnv_SC_ADVISORY_INFO; +extern const C_Int_t Posix_ProcEnv_SC_AIO_LISTIO_MAX; +extern const C_Int_t Posix_ProcEnv_SC_AIO_MAX; +extern const C_Int_t Posix_ProcEnv_SC_AIO_PRIO_DELTA_MAX; +extern const C_Int_t Posix_ProcEnv_SC_ARG_MAX; +extern const C_Int_t Posix_ProcEnv_SC_ASYNCHRONOUS_IO; +extern const C_Int_t Posix_ProcEnv_SC_ATEXIT_MAX; +extern const C_Int_t Posix_ProcEnv_SC_BARRIERS; +extern const C_Int_t Posix_ProcEnv_SC_BC_BASE_MAX; +extern const C_Int_t Posix_ProcEnv_SC_BC_DIM_MAX; +extern const C_Int_t Posix_ProcEnv_SC_BC_SCALE_MAX; +extern const C_Int_t Posix_ProcEnv_SC_BC_STRING_MAX; +extern const C_Int_t Posix_ProcEnv_SC_CHILD_MAX; +extern const C_Int_t Posix_ProcEnv_SC_CLK_TCK; +extern const C_Int_t Posix_ProcEnv_SC_CLOCK_SELECTION; +extern const C_Int_t Posix_ProcEnv_SC_COLL_WEIGHTS_MAX; +extern const C_Int_t Posix_ProcEnv_SC_CPUTIME; +extern const C_Int_t Posix_ProcEnv_SC_DELAYTIMER_MAX; +extern const C_Int_t Posix_ProcEnv_SC_EXPR_NEST_MAX; +extern const C_Int_t Posix_ProcEnv_SC_FSYNC; +extern const C_Int_t Posix_ProcEnv_SC_GETGR_R_SIZE_MAX; +extern const C_Int_t Posix_ProcEnv_SC_GETPW_R_SIZE_MAX; +extern const C_Int_t Posix_ProcEnv_SC_HOST_NAME_MAX; +extern const C_Int_t Posix_ProcEnv_SC_IOV_MAX; +extern const C_Int_t Posix_ProcEnv_SC_IPV6; +extern const C_Int_t Posix_ProcEnv_SC_JOB_CONTROL; +extern const C_Int_t Posix_ProcEnv_SC_LINE_MAX; +extern const C_Int_t Posix_ProcEnv_SC_LOGIN_NAME_MAX; +extern const C_Int_t Posix_ProcEnv_SC_MAPPED_FILES; +extern const C_Int_t Posix_ProcEnv_SC_MEMLOCK; +extern const C_Int_t Posix_ProcEnv_SC_MEMLOCK_RANGE; +extern const C_Int_t Posix_ProcEnv_SC_MEMORY_PROTECTION; +extern const C_Int_t Posix_ProcEnv_SC_MESSAGE_PASSING; +extern const C_Int_t Posix_ProcEnv_SC_MONOTONIC_CLOCK; +extern const C_Int_t Posix_ProcEnv_SC_MQ_OPEN_MAX; +extern const C_Int_t Posix_ProcEnv_SC_MQ_PRIO_MAX; +extern const C_Int_t Posix_ProcEnv_SC_NGROUPS_MAX; +extern const C_Int_t Posix_ProcEnv_SC_OPEN_MAX; +extern const C_Int_t Posix_ProcEnv_SC_PAGE_SIZE; +extern const C_Int_t Posix_ProcEnv_SC_PAGESIZE; +extern const C_Int_t Posix_ProcEnv_SC_PRIORITIZED_IO; +extern const C_Int_t Posix_ProcEnv_SC_PRIORITY_SCHEDULING; +extern const C_Int_t Posix_ProcEnv_SC_RAW_SOCKETS; +extern const C_Int_t Posix_ProcEnv_SC_RE_DUP_MAX; +extern const C_Int_t Posix_ProcEnv_SC_READER_WRITER_LOCKS; +extern const C_Int_t Posix_ProcEnv_SC_REALTIME_SIGNALS; +extern const C_Int_t Posix_ProcEnv_SC_REGEXP; +extern const C_Int_t Posix_ProcEnv_SC_RTSIG_MAX; +extern const C_Int_t Posix_ProcEnv_SC_SAVED_IDS; +extern const C_Int_t Posix_ProcEnv_SC_SEM_NSEMS_MAX; +extern const C_Int_t Posix_ProcEnv_SC_SEM_VALUE_MAX; +extern const C_Int_t Posix_ProcEnv_SC_SEMAPHORES; +extern const C_Int_t Posix_ProcEnv_SC_SHARED_MEMORY_OBJECTS; +extern const C_Int_t Posix_ProcEnv_SC_SHELL; +extern const C_Int_t Posix_ProcEnv_SC_SIGQUEUE_MAX; +extern const C_Int_t Posix_ProcEnv_SC_SPAWN; +extern const C_Int_t Posix_ProcEnv_SC_SPIN_LOCKS; +extern const C_Int_t Posix_ProcEnv_SC_SPORADIC_SERVER; +extern const C_Int_t Posix_ProcEnv_SC_SS_REPL_MAX; +extern const C_Int_t Posix_ProcEnv_SC_STREAM_MAX; +extern const C_Int_t Posix_ProcEnv_SC_SYMLOOP_MAX; +extern const C_Int_t Posix_ProcEnv_SC_SYNCHRONIZED_IO; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_ATTR_STACKADDR; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_ATTR_STACKSIZE; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_CPUTIME; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_DESTRUCTOR_ITERATIONS; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_KEYS_MAX; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_PRIO_INHERIT; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_PRIO_PROTECT; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_PRIORITY_SCHEDULING; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_PROCESS_SHARED; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_SAFE_FUNCTIONS; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_SPORADIC_SERVER; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_STACK_MIN; +extern const C_Int_t Posix_ProcEnv_SC_THREAD_THREADS_MAX; +extern const C_Int_t Posix_ProcEnv_SC_THREADS; +extern const C_Int_t Posix_ProcEnv_SC_TIMEOUTS; +extern const C_Int_t Posix_ProcEnv_SC_TIMER_MAX; +extern const C_Int_t Posix_ProcEnv_SC_TIMERS; +extern const C_Int_t Posix_ProcEnv_SC_TRACE; +extern const C_Int_t Posix_ProcEnv_SC_TRACE_EVENT_FILTER; +extern const C_Int_t Posix_ProcEnv_SC_TRACE_EVENT_NAME_MAX; +extern const C_Int_t Posix_ProcEnv_SC_TRACE_INHERIT; +extern const C_Int_t Posix_ProcEnv_SC_TRACE_LOG; +extern const C_Int_t Posix_ProcEnv_SC_TRACE_NAME_MAX; +extern const C_Int_t Posix_ProcEnv_SC_TRACE_SYS_MAX; +extern const C_Int_t Posix_ProcEnv_SC_TRACE_USER_EVENT_MAX; +extern const C_Int_t Posix_ProcEnv_SC_TTY_NAME_MAX; +extern const C_Int_t Posix_ProcEnv_SC_TYPED_MEMORY_OBJECTS; +extern const C_Int_t Posix_ProcEnv_SC_TZNAME_MAX; +extern const C_Int_t Posix_ProcEnv_SC_V6_ILP32_OFF32; +extern const C_Int_t Posix_ProcEnv_SC_V6_ILP32_OFFBIG; +extern const C_Int_t Posix_ProcEnv_SC_V6_LP64_OFF64; +extern const C_Int_t Posix_ProcEnv_SC_V6_LPBIG_OFFBIG; +extern const C_Int_t Posix_ProcEnv_SC_VERSION; +extern const C_Int_t Posix_ProcEnv_SC_XBS5_ILP32_OFF32; +extern const C_Int_t Posix_ProcEnv_SC_XBS5_ILP32_OFFBIG; +extern const C_Int_t Posix_ProcEnv_SC_XBS5_LP64_OFF64; +extern const C_Int_t Posix_ProcEnv_SC_XBS5_LPBIG_OFFBIG; +extern const C_Int_t Posix_ProcEnv_SC_XOPEN_CRYPT; +extern const C_Int_t Posix_ProcEnv_SC_XOPEN_ENH_I18N; +extern const C_Int_t Posix_ProcEnv_SC_XOPEN_LEGACY; +extern const C_Int_t Posix_ProcEnv_SC_XOPEN_REALTIME; +extern const C_Int_t Posix_ProcEnv_SC_XOPEN_REALTIME_THREADS; +extern const C_Int_t Posix_ProcEnv_SC_XOPEN_SHM; +extern const C_Int_t Posix_ProcEnv_SC_XOPEN_STREAMS; +extern const C_Int_t Posix_ProcEnv_SC_XOPEN_UNIX; +extern const C_Int_t Posix_ProcEnv_SC_XOPEN_VERSION; +C_Errno_t(C_Int_t) Posix_ProcEnv_setenv(NullString8_t,NullString8_t); +C_Errno_t(C_Int_t) Posix_ProcEnv_setgid(C_GId_t); +C_Errno_t(C_Int_t) Posix_ProcEnv_setgroups(C_Int_t,Vector(C_GId_t)); +C_Errno_t(C_Int_t) Posix_ProcEnv_setpgid(C_PId_t,C_PId_t); +C_Errno_t(C_PId_t) Posix_ProcEnv_setsid(void); +C_Errno_t(C_Int_t) Posix_ProcEnv_setuid(C_UId_t); +C_Errno_t(C_Long_t) Posix_ProcEnv_sysconf(C_Int_t); +C_Errno_t(C_Clock_t) Posix_ProcEnv_times(void); +C_Clock_t Posix_ProcEnv_Times_getCSTime(void); +C_Clock_t Posix_ProcEnv_Times_getCUTime(void); +C_Clock_t Posix_ProcEnv_Times_getSTime(void); +C_Clock_t Posix_ProcEnv_Times_getUTime(void); +C_Errno_t(C_String_t) Posix_ProcEnv_ttyname(C_Fd_t); +C_Errno_t(C_Int_t) Posix_ProcEnv_uname(void); +C_String_t Posix_ProcEnv_Uname_getMachine(void); +C_String_t Posix_ProcEnv_Uname_getNodeName(void); +C_String_t Posix_ProcEnv_Uname_getRelease(void); +C_String_t Posix_ProcEnv_Uname_getSysName(void); +C_String_t Posix_ProcEnv_Uname_getVersion(void); +C_UInt_t Posix_Process_alarm(C_UInt_t); +C_Errno_t(C_Int_t) Posix_Process_exece(NullString8_t,String8_t,Array(C_Pointer_t),Vector(C_Size_t),String8_t,Array(C_Pointer_t),Vector(C_Size_t)); +C_Errno_t(C_Int_t) Posix_Process_execp(NullString8_t,String8_t,Array(C_Pointer_t),Vector(C_Size_t)); +__attribute__((noreturn)) void Posix_Process_exit(C_Status_t); +C_Int_t Posix_Process_exitStatus(C_Status_t); +C_Errno_t(C_PId_t) Posix_Process_fork(void); +C_Int_t Posix_Process_ifExited(C_Status_t); +C_Int_t Posix_Process_ifSignaled(C_Status_t); +C_Int_t Posix_Process_ifStopped(C_Status_t); +C_Errno_t(C_Int_t) Posix_Process_kill(C_PId_t,C_Signal_t); +C_Errno_t(C_Int_t) Posix_Process_nanosleep(Ref(C_Time_t),Ref(C_Long_t)); +C_Errno_t(C_Int_t) Posix_Process_pause(void); +C_UInt_t Posix_Process_sleep(C_UInt_t); +C_Signal_t Posix_Process_stopSig(C_Status_t); +C_Errno_t(C_Status_t) Posix_Process_system(NullString8_t); +C_Signal_t Posix_Process_termSig(C_Status_t); +extern const C_Int_t Posix_Process_W_NOHANG; +extern const C_Int_t Posix_Process_W_UNTRACED; +C_Errno_t(C_PId_t) Posix_Process_waitpid(C_PId_t,Ref(C_Int_t),C_Int_t); +C_Errno_t(C_Int_t) Posix_Signal_default(C_Signal_t); +C_Errno_t(C_Int_t) Posix_Signal_handlee(C_Signal_t); +void Posix_Signal_handleGC(void); +C_Errno_t(C_Int_t) Posix_Signal_ignore(C_Signal_t); +C_Errno_t(C_Int_t) Posix_Signal_isDefault(C_Signal_t,Ref(C_Int_t)); +C_Errno_t(C_Int_t) Posix_Signal_isIgnore(C_Signal_t,Ref(C_Int_t)); +C_Int_t Posix_Signal_isPending(C_Signal_t); +C_Int_t Posix_Signal_isPendingGC(void); +extern const C_Int_t Posix_Signal_NSIG; +void Posix_Signal_resetPending(void); +extern const C_Int_t Posix_Signal_SIG_BLOCK; +extern const C_Int_t Posix_Signal_SIG_SETMASK; +extern const C_Int_t Posix_Signal_SIG_UNBLOCK; +extern const C_Signal_t Posix_Signal_SIGABRT; +C_Errno_t(C_Int_t) Posix_Signal_sigaddset(C_Signal_t); +extern const C_Signal_t Posix_Signal_SIGALRM; +extern const C_Signal_t Posix_Signal_SIGBUS; +extern const C_Signal_t Posix_Signal_SIGCHLD; +extern const C_Signal_t Posix_Signal_SIGCONT; +C_Errno_t(C_Int_t) Posix_Signal_sigdelset(C_Signal_t); +C_Errno_t(C_Int_t) Posix_Signal_sigemptyset(void); +C_Errno_t(C_Int_t) Posix_Signal_sigfillset(void); +extern const C_Signal_t Posix_Signal_SIGFPE; +extern const C_Signal_t Posix_Signal_SIGHUP; +extern const C_Signal_t Posix_Signal_SIGILL; +extern const C_Signal_t Posix_Signal_SIGINT; +C_Errno_t(C_Int_t) Posix_Signal_sigismember(C_Signal_t); +extern const C_Signal_t Posix_Signal_SIGKILL; +extern const C_Signal_t Posix_Signal_SIGPIPE; +extern const C_Signal_t Posix_Signal_SIGPOLL; +C_Errno_t(C_Int_t) Posix_Signal_sigprocmask(C_Int_t); +extern const C_Signal_t Posix_Signal_SIGPROF; +extern const C_Signal_t Posix_Signal_SIGQUIT; +extern const C_Signal_t Posix_Signal_SIGSEGV; +extern const C_Signal_t Posix_Signal_SIGSTOP; +void Posix_Signal_sigsuspend(void); +extern const C_Signal_t Posix_Signal_SIGSYS; +extern const C_Signal_t Posix_Signal_SIGTERM; +extern const C_Signal_t Posix_Signal_SIGTRAP; +extern const C_Signal_t Posix_Signal_SIGTSTP; +extern const C_Signal_t Posix_Signal_SIGTTIN; +extern const C_Signal_t Posix_Signal_SIGTTOU; +extern const C_Signal_t Posix_Signal_SIGURG; +extern const C_Signal_t Posix_Signal_SIGUSR1; +extern const C_Signal_t Posix_Signal_SIGUSR2; +extern const C_Signal_t Posix_Signal_SIGVTALRM; +extern const C_Signal_t Posix_Signal_SIGXCPU; +extern const C_Signal_t Posix_Signal_SIGXFSZ; +C_Errno_t(C_Int_t) Posix_SysDB_getgrgid(C_GId_t); +C_Errno_t(C_Int_t) Posix_SysDB_getgrnam(NullString8_t); +C_Errno_t(C_Int_t) Posix_SysDB_getpwnam(NullString8_t); +C_Errno_t(C_Int_t) Posix_SysDB_getpwuid(C_GId_t); +C_GId_t Posix_SysDB_Group_getGId(void); +C_StringArray_t Posix_SysDB_Group_getMem(void); +C_String_t Posix_SysDB_Group_getName(void); +C_String_t Posix_SysDB_Passwd_getDir(void); +C_GId_t Posix_SysDB_Passwd_getGId(void); +C_String_t Posix_SysDB_Passwd_getName(void); +C_String_t Posix_SysDB_Passwd_getShell(void); +C_UId_t Posix_SysDB_Passwd_getUId(void); +extern const C_Speed_t Posix_TTY_B0; +extern const C_Speed_t Posix_TTY_B110; +extern const C_Speed_t Posix_TTY_B1200; +extern const C_Speed_t Posix_TTY_B134; +extern const C_Speed_t Posix_TTY_B150; +extern const C_Speed_t Posix_TTY_B1800; +extern const C_Speed_t Posix_TTY_B19200; +extern const C_Speed_t Posix_TTY_B200; +extern const C_Speed_t Posix_TTY_B2400; +extern const C_Speed_t Posix_TTY_B300; +extern const C_Speed_t Posix_TTY_B38400; +extern const C_Speed_t Posix_TTY_B4800; +extern const C_Speed_t Posix_TTY_B50; +extern const C_Speed_t Posix_TTY_B600; +extern const C_Speed_t Posix_TTY_B75; +extern const C_Speed_t Posix_TTY_B9600; +extern const C_TCFlag_t Posix_TTY_C_CLOCAL; +extern const C_TCFlag_t Posix_TTY_C_CREAD; +extern const C_TCFlag_t Posix_TTY_C_CS5; +extern const C_TCFlag_t Posix_TTY_C_CS6; +extern const C_TCFlag_t Posix_TTY_C_CS7; +extern const C_TCFlag_t Posix_TTY_C_CS8; +extern const C_TCFlag_t Posix_TTY_C_CSIZE; +extern const C_TCFlag_t Posix_TTY_C_CSTOPB; +extern const C_TCFlag_t Posix_TTY_C_HUPCL; +extern const C_TCFlag_t Posix_TTY_C_PARENB; +extern const C_TCFlag_t Posix_TTY_C_PARODD; +extern const C_TCFlag_t Posix_TTY_I_BRKINT; +extern const C_TCFlag_t Posix_TTY_I_ICRNL; +extern const C_TCFlag_t Posix_TTY_I_IGNBRK; +extern const C_TCFlag_t Posix_TTY_I_IGNCR; +extern const C_TCFlag_t Posix_TTY_I_IGNPAR; +extern const C_TCFlag_t Posix_TTY_I_INLCR; +extern const C_TCFlag_t Posix_TTY_I_INPCK; +extern const C_TCFlag_t Posix_TTY_I_ISTRIP; +extern const C_TCFlag_t Posix_TTY_I_IXANY; +extern const C_TCFlag_t Posix_TTY_I_IXOFF; +extern const C_TCFlag_t Posix_TTY_I_IXON; +extern const C_TCFlag_t Posix_TTY_I_PARMRK; +extern const C_TCFlag_t Posix_TTY_L_ECHO; +extern const C_TCFlag_t Posix_TTY_L_ECHOE; +extern const C_TCFlag_t Posix_TTY_L_ECHOK; +extern const C_TCFlag_t Posix_TTY_L_ECHONL; +extern const C_TCFlag_t Posix_TTY_L_ICANON; +extern const C_TCFlag_t Posix_TTY_L_IEXTEN; +extern const C_TCFlag_t Posix_TTY_L_ISIG; +extern const C_TCFlag_t Posix_TTY_L_NOFLSH; +extern const C_TCFlag_t Posix_TTY_L_TOSTOP; +extern const C_TCFlag_t Posix_TTY_O_BS0; +extern const C_TCFlag_t Posix_TTY_O_BS1; +extern const C_TCFlag_t Posix_TTY_O_BSDLY; +extern const C_TCFlag_t Posix_TTY_O_CR0; +extern const C_TCFlag_t Posix_TTY_O_CR1; +extern const C_TCFlag_t Posix_TTY_O_CR2; +extern const C_TCFlag_t Posix_TTY_O_CR3; +extern const C_TCFlag_t Posix_TTY_O_CRDLY; +extern const C_TCFlag_t Posix_TTY_O_FF0; +extern const C_TCFlag_t Posix_TTY_O_FF1; +extern const C_TCFlag_t Posix_TTY_O_FFDLY; +extern const C_TCFlag_t Posix_TTY_O_NL0; +extern const C_TCFlag_t Posix_TTY_O_NL1; +extern const C_TCFlag_t Posix_TTY_O_NLDLY; +extern const C_TCFlag_t Posix_TTY_O_OCRNL; +extern const C_TCFlag_t Posix_TTY_O_OFILL; +extern const C_TCFlag_t Posix_TTY_O_ONLCR; +extern const C_TCFlag_t Posix_TTY_O_ONLRET; +extern const C_TCFlag_t Posix_TTY_O_ONOCR; +extern const C_TCFlag_t Posix_TTY_O_OPOST; +extern const C_TCFlag_t Posix_TTY_O_TAB0; +extern const C_TCFlag_t Posix_TTY_O_TAB1; +extern const C_TCFlag_t Posix_TTY_O_TAB2; +extern const C_TCFlag_t Posix_TTY_O_TAB3; +extern const C_TCFlag_t Posix_TTY_O_TABDLY; +extern const C_TCFlag_t Posix_TTY_O_VT0; +extern const C_TCFlag_t Posix_TTY_O_VT1; +extern const C_TCFlag_t Posix_TTY_O_VTDLY; +C_Errno_t(C_Int_t) Posix_TTY_TC_drain(C_Fd_t); +C_Errno_t(C_Int_t) Posix_TTY_TC_flow(C_Fd_t,C_Int_t); +C_Errno_t(C_Int_t) Posix_TTY_TC_flush(C_Fd_t,C_Int_t); +C_Errno_t(C_Int_t) Posix_TTY_TC_getattr(C_Fd_t); +C_Errno_t(C_PId_t) Posix_TTY_TC_getpgrp(C_Fd_t); +C_Errno_t(C_Int_t) Posix_TTY_TC_sendbreak(C_Fd_t,C_Int_t); +C_Errno_t(C_Int_t) Posix_TTY_TC_setattr(C_Fd_t,C_Int_t); +C_Errno_t(C_Int_t) Posix_TTY_TC_setpgrp(C_Fd_t,C_PId_t); +extern const C_Int_t Posix_TTY_TC_TCIFLUSH; +extern const C_Int_t Posix_TTY_TC_TCIOFF; +extern const C_Int_t Posix_TTY_TC_TCIOFLUSH; +extern const C_Int_t Posix_TTY_TC_TCION; +extern const C_Int_t Posix_TTY_TC_TCOFLUSH; +extern const C_Int_t Posix_TTY_TC_TCOOFF; +extern const C_Int_t Posix_TTY_TC_TCOON; +extern const C_Int_t Posix_TTY_TC_TCSADRAIN; +extern const C_Int_t Posix_TTY_TC_TCSAFLUSH; +extern const C_Int_t Posix_TTY_TC_TCSANOW; +C_Speed_t Posix_TTY_Termios_cfGetISpeed(void); +C_Speed_t Posix_TTY_Termios_cfGetOSpeed(void); +C_Errno_t(C_Int_t) Posix_TTY_Termios_cfSetISpeed(C_Speed_t); +C_Errno_t(C_Int_t) Posix_TTY_Termios_cfSetOSpeed(C_Speed_t); +void Posix_TTY_Termios_getCC(Array(C_CC_t)); +C_TCFlag_t Posix_TTY_Termios_getCFlag(void); +C_TCFlag_t Posix_TTY_Termios_getIFlag(void); +C_TCFlag_t Posix_TTY_Termios_getLFlag(void); +C_TCFlag_t Posix_TTY_Termios_getOFlag(void); +void Posix_TTY_Termios_setCC(Array(C_CC_t)); +void Posix_TTY_Termios_setCFlag(C_TCFlag_t); +void Posix_TTY_Termios_setIFlag(C_TCFlag_t); +void Posix_TTY_Termios_setLFlag(C_TCFlag_t); +void Posix_TTY_Termios_setOFlag(C_TCFlag_t); +extern const C_Int_t Posix_TTY_V_NCCS; +extern const C_Int_t Posix_TTY_V_VEOF; +extern const C_Int_t Posix_TTY_V_VEOL; +extern const C_Int_t Posix_TTY_V_VERASE; +extern const C_Int_t Posix_TTY_V_VINTR; +extern const C_Int_t Posix_TTY_V_VKILL; +extern const C_Int_t Posix_TTY_V_VMIN; +extern const C_Int_t Posix_TTY_V_VQUIT; +extern const C_Int_t Posix_TTY_V_VSTART; +extern const C_Int_t Posix_TTY_V_VSTOP; +extern const C_Int_t Posix_TTY_V_VSUSP; +extern const C_Int_t Posix_TTY_V_VTIME; +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_abs(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_add(Real32_t,Real32_t); +C_Int_t Real32_class(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_div(Real32_t,Real32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t Real32_equal(Real32_t,Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_fetch(Ref(Real32_t)); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_frexp(Real32_t,Ref(C_Int_t)); +C_String_t Real32_gdtoa(Real32_t,C_Int_t,C_Int_t,Ref(C_Int_t)); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_ldexp(Real32_t,C_Int_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t Real32_le(Real32_t,Real32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t Real32_lt(Real32_t,Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_acos(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_asin(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_atan(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_atan2(Real32_t,Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_cos(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_cosh(Real32_t); +extern Real32_t Real32_Math_e; +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_exp(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_ln(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_log10(Real32_t); +extern Real32_t Real32_Math_pi; +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_pow(Real32_t,Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_sin(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_sinh(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_sqrt(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_tan(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_Math_tanh(Real32_t); +extern Real32_t Real32_maxFinite; +extern Real32_t Real32_minNormalPos; +extern Real32_t Real32_minPos; +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_modf(Real32_t,Ref(Real32_t)); +MLTON_CODEGEN_STATIC_INLINE void Real32_move(Ref(Real32_t),Ref(Real32_t)); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_mul(Real32_t,Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_muladd(Real32_t,Real32_t,Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_mulsub(Real32_t,Real32_t,Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_neg(Real32_t); +Real32_t Real32_nextAfterDown(Real32_t); +Real32_t Real32_nextAfterUp(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_round(Real32_t); +C_Int_t Real32_signBit(Real32_t); +MLTON_CODEGEN_STATIC_INLINE void Real32_store(Ref(Real32_t),Real32_t); +Real32_t Real32_strto(NullString8_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_sub(Real32_t,Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real32_toReal32(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real32_toReal64(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Int16_t Real32_toWordS16(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Int32_t Real32_toWordS32(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Int64_t Real32_toWordS64(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Int8_t Real32_toWordS8(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t Real32_toWordU16(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t Real32_toWordU32(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t Real32_toWordU64(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t Real32_toWordU8(Real32_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_abs(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_add(Real64_t,Real64_t); +C_Int_t Real64_class(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_div(Real64_t,Real64_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t Real64_equal(Real64_t,Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_fetch(Ref(Real64_t)); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_frexp(Real64_t,Ref(C_Int_t)); +C_String_t Real64_gdtoa(Real64_t,C_Int_t,C_Int_t,Ref(C_Int_t)); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_ldexp(Real64_t,C_Int_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t Real64_le(Real64_t,Real64_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t Real64_lt(Real64_t,Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_acos(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_asin(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_atan(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_atan2(Real64_t,Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_cos(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_cosh(Real64_t); +extern Real64_t Real64_Math_e; +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_exp(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_ln(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_log10(Real64_t); +extern Real64_t Real64_Math_pi; +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_pow(Real64_t,Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_sin(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_sinh(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_sqrt(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_tan(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_Math_tanh(Real64_t); +extern Real64_t Real64_maxFinite; +extern Real64_t Real64_minNormalPos; +extern Real64_t Real64_minPos; +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_modf(Real64_t,Ref(Real64_t)); +MLTON_CODEGEN_STATIC_INLINE void Real64_move(Ref(Real64_t),Ref(Real64_t)); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_mul(Real64_t,Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_muladd(Real64_t,Real64_t,Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_mulsub(Real64_t,Real64_t,Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_neg(Real64_t); +Real64_t Real64_nextAfterDown(Real64_t); +Real64_t Real64_nextAfterUp(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_round(Real64_t); +C_Int_t Real64_signBit(Real64_t); +MLTON_CODEGEN_STATIC_INLINE void Real64_store(Ref(Real64_t),Real64_t); +Real64_t Real64_strto(NullString8_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_sub(Real64_t,Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t Real64_toReal32(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t Real64_toReal64(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Int16_t Real64_toWordS16(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Int32_t Real64_toWordS32(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Int64_t Real64_toWordS64(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Int8_t Real64_toWordS8(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t Real64_toWordU16(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t Real64_toWordU32(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t Real64_toWordU64(Real64_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t Real64_toWordU8(Real64_t); +C_Errno_t(C_Int_t) Socket_accept(C_Sock_t,Array(Word8_t),Ref(C_Socklen_t)); +extern const C_Int_t Socket_AF_INET; +extern const C_Int_t Socket_AF_INET6; +extern const C_Int_t Socket_AF_UNIX; +extern const C_Int_t Socket_AF_UNSPEC; +C_Errno_t(C_Int_t) Socket_bind(C_Sock_t,Vector(Word8_t),C_Socklen_t); +C_Errno_t(C_Int_t) Socket_close(C_Sock_t); +C_Errno_t(C_Int_t) Socket_connect(C_Sock_t,Vector(Word8_t),C_Socklen_t); +extern const C_Int_t Socket_Ctl_FIONBIO; +extern const C_Int_t Socket_Ctl_FIONREAD; +C_Errno_t(C_Int_t) Socket_Ctl_getIOCtl(C_Sock_t,C_Int_t,Array(Word8_t)); +C_Errno_t(C_Int_t) Socket_Ctl_getPeerName(C_Sock_t,Array(Word8_t),Ref(C_Socklen_t)); +C_Errno_t(C_Int_t) Socket_Ctl_getSockName(C_Sock_t,Array(Word8_t),Ref(C_Socklen_t)); +C_Errno_t(C_Int_t) Socket_Ctl_getSockOpt(C_Sock_t,C_Int_t,C_Int_t,Array(Word8_t),Ref(C_Socklen_t)); +C_Errno_t(C_Int_t) Socket_Ctl_setIOCtl(C_Sock_t,C_Int_t,Vector(Word8_t)); +C_Errno_t(C_Int_t) Socket_Ctl_setSockOpt(C_Sock_t,C_Int_t,C_Int_t,Vector(Word8_t),C_Socklen_t); +extern const C_Int_t Socket_Ctl_SIOCATMARK; +extern const C_Int_t Socket_Ctl_SO_ACCEPTCONN; +extern const C_Int_t Socket_Ctl_SO_BROADCAST; +extern const C_Int_t Socket_Ctl_SO_DEBUG; +extern const C_Int_t Socket_Ctl_SO_DONTROUTE; +extern const C_Int_t Socket_Ctl_SO_ERROR; +extern const C_Int_t Socket_Ctl_SO_KEEPALIVE; +extern const C_Int_t Socket_Ctl_SO_LINGER; +extern const C_Int_t Socket_Ctl_SO_OOBINLINE; +extern const C_Int_t Socket_Ctl_SO_RCVBUF; +extern const C_Int_t Socket_Ctl_SO_RCVLOWAT; +extern const C_Int_t Socket_Ctl_SO_RCVTIMEO; +extern const C_Int_t Socket_Ctl_SO_REUSEADDR; +extern const C_Int_t Socket_Ctl_SO_SNDBUF; +extern const C_Int_t Socket_Ctl_SO_SNDLOWAT; +extern const C_Int_t Socket_Ctl_SO_SNDTIMEO; +extern const C_Int_t Socket_Ctl_SO_TYPE; +extern const C_Int_t Socket_Ctl_SOL_SOCKET; +C_Int_t Socket_familyOfAddr(Vector(Word8_t)); +C_Errno_t(C_Int_t) Socket_GenericSock_socket(C_Int_t,C_Int_t,C_Int_t); +C_Errno_t(C_Int_t) Socket_GenericSock_socketPair(C_Int_t,C_Int_t,C_Int_t,Array(C_Int_t)); +extern const C_Int_t Socket_INetSock_Ctl_IPPROTO_TCP; +extern const C_Int_t Socket_INetSock_Ctl_TCP_NODELAY; +void Socket_INetSock_fromAddr(Vector(Word8_t)); +void Socket_INetSock_getInAddr(Array(Word8_t)); +C_Int_t Socket_INetSock_getPort(void); +void Socket_INetSock_toAddr(Vector(Word8_t),C_Int_t,Array(Word8_t),Ref(C_Socklen_t)); +C_Errno_t(C_Int_t) Socket_listen(C_Sock_t,C_Int_t); +extern const C_Int_t Socket_MSG_CTRUNC; +extern const C_Int_t Socket_MSG_DONTROUTE; +extern const C_Int_t Socket_MSG_DONTWAIT; +extern const C_Int_t Socket_MSG_EOR; +extern const C_Int_t Socket_MSG_OOB; +extern const C_Int_t Socket_MSG_PEEK; +extern const C_Int_t Socket_MSG_TRUNC; +extern const C_Int_t Socket_MSG_WAITALL; +C_Errno_t(C_SSize_t) Socket_recv(C_Sock_t,Array(Word8_t),C_Int_t,C_Size_t,C_Int_t); +C_Errno_t(C_SSize_t) Socket_recvFrom(C_Sock_t,Array(Word8_t),C_Int_t,C_Size_t,C_Int_t,Array(Word8_t),Ref(C_Socklen_t)); +C_Errno_t(C_SSize_t) Socket_sendArr(C_Sock_t,Array(Word8_t),C_Int_t,C_Size_t,C_Int_t); +C_Errno_t(C_SSize_t) Socket_sendArrTo(C_Sock_t,Array(Word8_t),C_Int_t,C_Size_t,C_Int_t,Vector(Word8_t),C_Socklen_t); +C_Errno_t(C_SSize_t) Socket_sendVec(C_Sock_t,Vector(Word8_t),C_Int_t,C_Size_t,C_Int_t); +C_Errno_t(C_SSize_t) Socket_sendVecTo(C_Sock_t,Vector(Word8_t),C_Int_t,C_Size_t,C_Int_t,Vector(Word8_t),C_Socklen_t); +extern const C_Int_t Socket_SHUT_RD; +extern const C_Int_t Socket_SHUT_RDWR; +extern const C_Int_t Socket_SHUT_WR; +C_Errno_t(C_Int_t) Socket_shutdown(C_Sock_t,C_Int_t); +extern const C_Int_t Socket_SOCK_DGRAM; +extern const C_Int_t Socket_SOCK_RAW; +extern const C_Int_t Socket_SOCK_SEQPACKET; +extern const C_Int_t Socket_SOCK_STREAM; +extern const C_Size_t Socket_sockAddrStorageLen; +void Socket_UnixSock_fromAddr(Vector(Word8_t),Array(Char8_t),C_Size_t); +C_Size_t Socket_UnixSock_pathLen(Vector(Word8_t)); +void Socket_UnixSock_toAddr(NullString8_t,C_Size_t,Array(Word8_t),Ref(C_Socklen_t)); +void Stdio_print(String8_t); +void Stdio_printStderr(String8_t); +void Stdio_printStdout(String8_t); +C_Int_t Time_getTimeOfDay(void); +C_Time_t Time_sec(void); +C_SUSeconds_t Time_usec(void); +C_Errno_t(C_PId_t) Windows_Process_create(NullString8_t,NullString8_t,NullString8_t,C_Fd_t,C_Fd_t,C_Fd_t); +C_Errno_t(C_Int_t) Windows_Process_terminate(C_PId_t,C_Signal_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t Word16_add(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t Word16_andb(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t Word16_equal(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t Word16_lshift(Word16_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t Word16_neg(Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t Word16_notb(Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t Word16_orb(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t Word16_rol(Word16_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t Word16_ror(Word16_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t Word16_sub(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t Word16_xorb(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t Word32_add(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t Word32_andb(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t Word32_equal(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t Word32_lshift(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t Word32_neg(Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t Word32_notb(Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t Word32_orb(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t Word32_rol(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t Word32_ror(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t Word32_sub(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t Word32_xorb(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t Word64_add(Word64_t,Word64_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t Word64_andb(Word64_t,Word64_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t Word64_equal(Word64_t,Word64_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t Word64_fetch(Ref(Word64_t)); +MLTON_CODEGEN_STATIC_INLINE Word64_t Word64_lshift(Word64_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE void Word64_move(Ref(Word64_t),Ref(Word64_t)); +MLTON_CODEGEN_STATIC_INLINE Word64_t Word64_neg(Word64_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t Word64_notb(Word64_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t Word64_orb(Word64_t,Word64_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t Word64_rol(Word64_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t Word64_ror(Word64_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE void Word64_store(Ref(Word64_t),Word64_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t Word64_sub(Word64_t,Word64_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t Word64_xorb(Word64_t,Word64_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t Word8_add(Word8_t,Word8_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t Word8_andb(Word8_t,Word8_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t Word8_equal(Word8_t,Word8_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t Word8_lshift(Word8_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t Word8_neg(Word8_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t Word8_notb(Word8_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t Word8_orb(Word8_t,Word8_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t Word8_rol(Word8_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t Word8_ror(Word8_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t Word8_sub(Word8_t,Word8_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t Word8_xorb(Word8_t,Word8_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS16_addCheckOverflows(Int16_t,Int16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS16_ge(Int16_t,Int16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS16_gt(Int16_t,Int16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS16_le(Int16_t,Int16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS16_lt(Int16_t,Int16_t); +MLTON_CODEGEN_STATIC_INLINE Int16_t WordS16_mul(Int16_t,Int16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS16_mulCheckOverflows(Int16_t,Int16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS16_negCheckOverflows(Int16_t); +MLTON_CODEGEN_STATIC_INLINE Int16_t WordS16_quot(Int16_t,Int16_t); +MLTON_CODEGEN_STATIC_INLINE Int16_t WordS16_rem(Int16_t,Int16_t); +MLTON_CODEGEN_STATIC_INLINE Int16_t WordS16_rshift(Int16_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS16_subCheckOverflows(Int16_t,Int16_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t WordS16_toReal32(Int16_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t WordS16_toReal64(Int16_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t WordS16_toWord16(Int16_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t WordS16_toWord32(Int16_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t WordS16_toWord64(Int16_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t WordS16_toWord8(Int16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS32_addCheckOverflows(Int32_t,Int32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS32_ge(Int32_t,Int32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS32_gt(Int32_t,Int32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS32_le(Int32_t,Int32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS32_lt(Int32_t,Int32_t); +MLTON_CODEGEN_STATIC_INLINE Int32_t WordS32_mul(Int32_t,Int32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS32_mulCheckOverflows(Int32_t,Int32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS32_negCheckOverflows(Int32_t); +MLTON_CODEGEN_STATIC_INLINE Int32_t WordS32_quot(Int32_t,Int32_t); +MLTON_CODEGEN_STATIC_INLINE Int32_t WordS32_rem(Int32_t,Int32_t); +MLTON_CODEGEN_STATIC_INLINE Int32_t WordS32_rshift(Int32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS32_subCheckOverflows(Int32_t,Int32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t WordS32_toReal32(Int32_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t WordS32_toReal64(Int32_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t WordS32_toWord16(Int32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t WordS32_toWord32(Int32_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t WordS32_toWord64(Int32_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t WordS32_toWord8(Int32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS64_addCheckOverflows(Int64_t,Int64_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS64_ge(Int64_t,Int64_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS64_gt(Int64_t,Int64_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS64_le(Int64_t,Int64_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS64_lt(Int64_t,Int64_t); +MLTON_CODEGEN_STATIC_INLINE Int64_t WordS64_mul(Int64_t,Int64_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS64_mulCheckOverflows(Int64_t,Int64_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS64_negCheckOverflows(Int64_t); +MLTON_CODEGEN_STATIC_INLINE Int64_t WordS64_quot(Int64_t,Int64_t); +MLTON_CODEGEN_STATIC_INLINE Int64_t WordS64_rem(Int64_t,Int64_t); +MLTON_CODEGEN_STATIC_INLINE Int64_t WordS64_rshift(Int64_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS64_subCheckOverflows(Int64_t,Int64_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t WordS64_toReal32(Int64_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t WordS64_toReal64(Int64_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t WordS64_toWord16(Int64_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t WordS64_toWord32(Int64_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t WordS64_toWord64(Int64_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t WordS64_toWord8(Int64_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS8_addCheckOverflows(Int8_t,Int8_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS8_ge(Int8_t,Int8_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS8_gt(Int8_t,Int8_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS8_le(Int8_t,Int8_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS8_lt(Int8_t,Int8_t); +MLTON_CODEGEN_STATIC_INLINE Int8_t WordS8_mul(Int8_t,Int8_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS8_mulCheckOverflows(Int8_t,Int8_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS8_negCheckOverflows(Int8_t); +MLTON_CODEGEN_STATIC_INLINE Int8_t WordS8_quot(Int8_t,Int8_t); +MLTON_CODEGEN_STATIC_INLINE Int8_t WordS8_rem(Int8_t,Int8_t); +MLTON_CODEGEN_STATIC_INLINE Int8_t WordS8_rshift(Int8_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordS8_subCheckOverflows(Int8_t,Int8_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t WordS8_toReal32(Int8_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t WordS8_toReal64(Int8_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t WordS8_toWord16(Int8_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t WordS8_toWord32(Int8_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t WordS8_toWord64(Int8_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t WordS8_toWord8(Int8_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordU16_addCheckOverflows(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordU16_ge(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordU16_gt(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordU16_le(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordU16_lt(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t WordU16_mul(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordU16_mulCheckOverflows(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t WordU16_quot(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t WordU16_rem(Word16_t,Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t WordU16_rshift(Word16_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Real32_t WordU16_toReal32(Word16_t); +MLTON_CODEGEN_STATIC_INLINE Real64_t WordU16_toReal64(Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word16_t WordU16_toWord16(Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t WordU16_toWord32(Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word64_t WordU16_toWord64(Word16_t); +MLTON_CODEGEN_STATIC_INLINE Word8_t WordU16_toWord8(Word16_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordU32_addCheckOverflows(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordU32_ge(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordU32_gt(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordU32_le(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordU32_lt(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t WordU32_mul(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Bool_t WordU32_mulCheckOverflows(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t WordU32_quot(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE Word32_t WordU32_rem(Word32_t,Word32_t); +MLTON_CODEGEN_STATIC_INLINE W... [truncated message content] |