xattr

package
v0.0.0-...-7bde1eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CREATE  = 1 // C.XATTR_CREATE
	REPLACE = 2 // C.XATTR_REPLACE
)

Xattr constants

Variables

This section is empty.

Functions

func Fgetxattr

func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error)

Fgetxattr returns the extended attribute from the path name.

func Fsetxattr

func Fsetxattr(fd int, attr string, value []byte, flags int) error

Fsetxattr sets the extended attribute on the path name

func Lgetxattr

func Lgetxattr(path, attr string, dest []byte) (sz int, err error)

Lgetxattr returns the extended attribute from the path name.

func Lsetxattr

func Lsetxattr(path, attr string, value []byte, flags int) (err error)

Lsetxattr sets the extended attribute on the path name

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL