pub(all) suberror Errno {
Success
TooBig
Acces
Addrinuse
Addrnotavail
Afnosupport
Again
Already
Badf
Badmsg
Busy
Canceled
Child
Connaborted
Connrefused
Connreset
Deadlock
Destaddrreq
Dom
Dquot
Exist
Fault
Fbig
Hostunreach
Idrm
Ilseq
Inprogress
Intr
Inval
IO
Isconn
Isdir
Loop
Mfile
Mlink
Msgsize
Multihop
Nametoolong
Netdown
Netreset
Netunreach
Nfile
Nobufs
Nodev
Noent
Noexec
Nolck
Nolink
Nomem
Nomsg
Noprotoopt
Nospc
Nosys
Notconn
Notdir
Notempty
Notrecoverable
Notsock
Notsup
Notty
Nxio
Overflow
Ownerdead
Perm
Pipe
Proto
Protonosupport
Prototype
Range
Rofs
Spipe
Srch
Stale
Timedout
Txtbsy
Xdev
Notcapable
}pub(all) enum Advice {
Normal
Sequential
Random
Willneed
Dontneed
Noreuse
}pub(all) enum ClockId {
RealTime
Monotonic
ProcessCPUTimeId
ThreadCPUTimeId
}pub(all) type Device UInt64pub(all) type DirCookie UInt64pub(all) type DirNamlen UIntpub(all) struct Event {
userdata : Userdata
error : Errno
type_ : EventType
fd_readwrite : Event_fd_readwrite
}pub(all) enum EventRWFlag {
Fd_readwrite_hangup
}impl Eq for EventRWFlagimpl Show for EventRWFlagpub(all) type EventRWFlags UIntimpl Eq for EventRWFlagsimpl Show for EventRWFlagspub(all) enum EventType {
Clock
Fd_read
Fd_write
}impl Eq for Event_fd_readwriteimpl Show for Event_fd_readwritepub(all) type ExitCode UIntpub(all) type Fd Intfn Fd::path_link(self : Fd, old_flags : LookupFlags, old_path : String, new_fd : Fd, new_path : String) -> Unit raise Errnopub(all) enum FdFlag {
Append
Dsync
Nonblock
Rsync
Sync
}pub(all) type FdFlags UIntpub(all) type FileDelta Int64pub(all) type FileSize UInt64pub(all) enum FileType {
Unknown
Block_device
Character_device
Directory
Regular_file
Socket_dgram
Socket_stream
Symbolic_link
}pub(all) enum FstFlag {
Atim
Atim_now
Mtim
Mtim_now
}pub(all) type FstFlags UIntpub(all) type Inode UInt64pub(all) type LinkCount UInt64pub(all) enum LookupFlag {
Symlink_follow
}impl Eq for LookupFlagimpl Show for LookupFlagpub(all) type LookupFlags UIntimpl Eq for LookupFlagsimpl Show for LookupFlagspub(all) enum OpenFlag {
Create
Directory
Excl
Trunc
}pub(all) type OpenFlags UIntpub(all) enum PreOpenType {
Dir
}impl Eq for PreOpenTypeimpl Show for PreOpenTypeimpl Eq for PreStat_dirimpl Show for PreStat_dirpub(all) enum RiFlag {
Recv_peek
Recv_waitall
}pub(all) type RiFlags UIntpub(all) enum Right {
Fd_datasync
Fd_read
Fd_seek
Fd_fdstat_set_flags
Fd_sync
Fd_tell
Fd_write
Fd_advice
Fd_allocate
Path_create_directory
Path_create_file
Path_link_source
Path_link_target
Path_open
Fd_readdir
Path_readlink
Path_rename_source
Path_rename_target
Path_filestat_get
Path_filestat_set_size
Path_filestat_set_times
Fd_filestat_get
Fd_filestat_set_size
Fd_filestat_set_times
Path_symlink
Path_remove_directory
Path_unlink_file
Poll_fd_readwrite
Sock_shutdown
Sock_accept
}pub(all) type Rights UInt64pub(all) enum RoFlag {
Recv_data_truncated
}pub(all) type RoFlags UIntpub(all) enum SdFlag {
Rd
Wr
}pub(all) type SdFlags UIntpub(all) enum SiFlag {
}pub(all) type SiFlags UIntpub(all) enum Signal {
None
Hup
Inte
Quit
Ill
Trap
Abrt
Bus
Fpe
Kill
Usr1
Segv
Usr2
Pipe
Alrm
Term
Chld
Cont
Stop
Tstp
Ttin
Ttou
Urg
Xcpu
Xfsz
Vtalrm
Prof
Winch
Poll
Pwr
Sys
}pub(all) type Size UIntpub(all) enum SubclockFlag {
Subscription_clock_abstime
}impl Eq for SubclockFlagimpl Show for SubclockFlagpub(all) type SubclockFlags UIntimpl Eq for SubclockFlagsimpl Show for SubclockFlagsimpl Eq for Subscriptionimpl Show for Subscriptionpub(all) struct Subscription_clock {
id : ClockId
timeout : TimeStamp
precision : TimeStamp
flags : SubclockFlags
}impl Eq for Subscription_clockimpl Show for Subscription_clockimpl Eq for Subscription_fd_readwriteimpl Show for Subscription_fd_readwritepub(all) enum Subscription_u {
Clock(Subscription_clock)
Fd_read(Subscription_fd_readwrite)
Fd_write(Subscription_fd_readwrite)
}impl Eq for Subscription_uimpl Show for Subscription_upub(all) type TimeStamp UInt64pub(all) type Userdata UInt64pub(all) enum Whence {
Set
Cur
End
}fn proc_exit(rval : UInt) -> UnitInstall
Download zip