Documentation
¶
Index ¶
- Constants
- func Chdir(dir string) error
- func Chmod(name string, mode FileMode) error
- func Chown(name string, uid, gid int) error
- func Clearenv()
- func Exit(code int)
- func Getegid() int
- func Getenv(key string) string
- func Geteuid() int
- func Getgid() int
- func Getpid() int
- func Getppid() int
- func Getuid() int
- func Getwd() (dir string, err error)
- func Lchown(name string, uid, gid int) error
- func Link(oldname, newname string) error
- func Mkdir(name string, perm FileMode) error
- func NewSyscallError(syscall string, err error) error
- func Readlink(name string) (string, error)
- func Remove(name string) error
- func Rename(oldpath, newpath string) error
- func Setenv(key, value string) error
- func Symlink(oldname, newname string) error
- func Truncate(name string, size int64) error
- func Unsetenv(key string) error
- type FileMode
- type LinkError
- type PathError
- type SyscallError
Constants ¶
View Source
const (
LLGoPackage = true
)
Variables ¶
This section is empty.
Functions ¶
func NewSyscallError ¶
NewSyscallError returns, as an error, a new SyscallError with the given system call name and error details. As a convenience, if err is nil, NewSyscallError returns nil.
Types ¶
type LinkError ¶
LinkError records an error during a link or symlink or rename system call and the paths that caused it.
type SyscallError ¶
SyscallError records an error from a specific system call.
func (*SyscallError) Error ¶
func (e *SyscallError) Error() string
func (*SyscallError) Timeout ¶
func (e *SyscallError) Timeout() bool
Timeout reports whether this error represents a timeout.
func (*SyscallError) Unwrap ¶
func (e *SyscallError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.