struct IOR::SQE
- IOR::SQE
- Struct
- Value
- Object
Defined in:
ior/sqe.crConstructors
Instance Method Summary
-
#accept(fd, **options)
TODO Support passing sockaddr, socklen and flags.
- #async_cancel(cancel_userdata : UInt64, **options)
- #close(fd, **options)
- #connect(fd, addr, size, **options)
- #epoll_ctl
- #fallocate(fd, offset, length, mode = 0, **options)
- #files_update(files : Array(Int32), off = 0, **options)
- #fsync(fd, flags = 0, **options)
-
#link_timeout(time : Pointer(LibC::Timespec), relative = true, **options)
Note: Requires the preceding operation in the same submit to have the io_link flag set.
- #nop(**options)
- #openat(fd, pathname, flags : String, **options)
- #openat(fd, pathname : String, flags : UInt32 = 0, mode : LibC::ModeT = 0, **options)
-
#openat(pathname, relative_to_cwd = false, **options)
Absolute path, or relative to CWD
- #poll_add(fd, poll_mask : LibC::POLL_FLAG = LibC::POLL_FLAG::POLLIN, **options)
- #read(fd, buf, size = buf.size, offset = -1, **options)
-
#readv(fd, iovecs, offset, **options)
TODO Support using current position (ie offset -1), based on IORING_FEAT_RW_CUR_POS
- #recv(fd, buf, size = buf.size, flags = 0, **options)
- #recvmsg(fd, msg : Pointer(LibC::MsgHeader), flags = 0, **options)
- #send(fd, buf, size = buf.size, flags = 0, **options)
- #sendmsg(fd, msg : Pointer(LibC::MsgHeader), flags = 0, **options)
- #splice(fd_in, off_in : UInt64 | Nil, fd_out, off_out : UInt64 | Nil, size : Int32, flags = 0, **options)
- #timeout(time : Pointer(LibC::Timespec), relative = true, wait_nr = 0, **options)
- #timeout_remove(cancel_userdata : UInt64, **options)
- #write(fd, buf, size = buf.size, offset = -1, **options)
- #writev(fd, iovecs, offset, **options)
Constructor Detail
Instance Method Detail
def link_timeout(time : Pointer(LibC::Timespec), relative = true, **options)
#
Note: Requires the preceding operation in the same submit to have the io_link flag set.
def readv(fd, iovecs, offset, **options)
#
TODO Support using current position (ie offset -1), based on IORING_FEAT_RW_CUR_POS
def splice(fd_in, off_in : UInt64 | Nil, fd_out, off_out : UInt64 | Nil, size : Int32, flags = 0, **options)
#