Structs
The following structs are available globally.
-
CError is an error thrown by a C system call. It may be from a typical -1 return code that sets
See moreerrno
, from agetaddrinfo
call or directly from anerrno
.Declaration
Swift
public struct CError: Swift.Error
-
Event represents an event file descriptor as described in eventfd(2).
See moreDeclaration
Swift
public struct Event: FileDescriptor
-
MessageError is a String-based error that can be created with additional contextual key-value pairs.
See moreDeclaration
Swift
public struct MessageError: Swift.Error
-
SignalFileDescriptor is a file descriptor for a signal(s) as described in signalfd(2).
See moreDeclaration
Swift
public struct SignalFileDescriptor: FileDescriptor
-
SignalSet is a set of signals.
See moreDeclaration
Swift
public struct SignalSet
-
Timer is a file descriptor associated with a timer. See timerfd_create(2) for details.
See moreDeclaration
Swift
public struct Timer: FileDescriptor