Documentation ¶
Overview ¶
Package errno converts error number values into error-type values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
Error turns a syscall.Errno in an ordinary error-type value -- this mimics the behavior of golang.org/x/sys/unix for returning boxed syscall.EAGAIN, syscall.EINVAL and syscall.ENOENT instead of their unix package counterparts (The Source tells us that this prevents allocations at runtime). This function returns nil if the error number is zero.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.