Discover Packages
github.com/cyphar/umoci
pkg
system
package
Version:
v0.0.0
Opens a new window with list of versions in this module.
Published: Feb 6, 2017
License: Apache-2.0, Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
Flock(fd, exclusive)
Lclearxattrs(path)
Lgetxattr(path, name)
Llistxattr(path)
Lremovexattr(path, name)
Lsetxattr(path, name, value, flags)
Lutimes(path, atime, mtime)
Majordev(device)
Minordev(device)
Mknod(path, mode, dev)
Tarmode(typeflag)
Unflock(fd)
Unlink(path)
Types
Source Files
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
func Flock(fd uintptr, exclusive bool) error
func Lclearxattrs(path string) error
func Lgetxattr(path string, name string) ([]byte, error)
func Llistxattr(path string) ([]string, error)
func Lremovexattr(path, name string) error
func Lsetxattr(path, name string, value []byte, flags int) error
func Lutimes(path string, atime, mtime time.Time) error
func Majordev(device Dev_t) uint64
func Minordev(device Dev_t) uint64
func Mknod(path string, mode os.FileMode, dev Dev_t) error
func Tarmode(typeflag byte) uint32
func Unflock(fd uintptr) error
func Unlink(path string) error
type Dev_t
Flock is a wrapper around flock(2).
Lclearxattrs is a wrapper around Llistxattr and Lremovexattr, which attempts
to remove all xattrs from a given file.
Lgetxattr is a wrapper around lgetxattr(2).
Llistxattr is a wrapper around llistxattr(2).
Lremovexattr is a wrapper around lremovexattr(2).
Lsetxattr is a wrapper around lsetxattr(2).
Lutimes is a wrapper around utimensat(2), with the AT_SYMLINK_NOFOLLOW flag
set, to allow changing the time of a symlink rather than the file it points
to.
Majordev returns the major device number given a dev_t, similar to major(3).
Minordev returns the minor device number given a dev_t, similar to minor(3).
Mknod is a wrapper around mknod(2).
Tarmode takes a Typeflag (from a tar.Header for example) and returns the
corresponding os.Filemode bit. Unknown typeflags are treated like regular
files.
Unflock is a wrapper around flock(2).
Unlink is a wrapper around unlink(2).
Dev_t represents a dev_t structure.
Makedev produces a dev_t from the individual major and minor numbers,
similar to makedev(3).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.