package
0.1.35
Repository: https://github.com/neurlang/wayland.git
Documentation: pkg.go.dev

# Functions

Close closes the fd.
CreateAnonymousFile creates anon fd, in case of the ErrUnlink error, the fd is valid.
CreateTmpfileCloexec creates a temp file that will be cloexec.
MkOsTemp is a Golang version of the popular C library function call The string can contain the pattern consisting of XXX that will be replaced with a high-entropy alphanumeric sequence, if you want more entropic string you can put more XXX (in multiples of 3 X) up to the recommended value of 27 X shorter sequence of XXX will make your MkOsTemp more prone to the failure the buffer tmpname will be overwritten by the high entropic buffer x1, x2, x3 are the three X characters we are replacing, it can be another character altogether.
Mmap calls the system call to map memory on a fd.
Munmap calls the system call to unmap memory.
ParseSocketControlMessage calls a system call to parse a Socket Control Message.
ParseUnixRights calls a system call to parse unix rights.
Sendmsg sends information on fd using a Sendmsg system call.
UnixRights calls a system call.

# Constants

MapPrivate Private mapping.
MapShared Share this mapping.
ProtRead Pages may be read.
ProtWrite Pages may be written.

# Variables

ErrFileIsNil error means a temp file could not be created.
ErrUnlink is a CreateTmpfileCloexec error that means a temp file was created but couldn't be deleted to make it anonymous.

# Type aliases

Sockaddr is a socket address.
SocketControlMessage is a socket control message.