sysx

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 206

README

This package is for internal use only. It is intended to only have temporary changes before they are upstreamed to golang.org/x/sys/ (a.k.a. https://github.com/golang/sys).

Documentation

Index

Constants

View Source
const ENODATA = syscall.ENODATA

Variables

This section is empty.

Functions

func Getxattr

func Getxattr(path, attr string) ([]byte, error)

Getxattr calls syscall getxattr

func LGetxattr

func LGetxattr(path, attr string) ([]byte, error)

LGetxattr gets an xattr, not following symlinks

func LListxattr

func LListxattr(path string) ([]string, error)

LListxattr lists xattrs, not following symlinks

func LRemovexattr

func LRemovexattr(path string, attr string) (err error)

LRemovexattr removes an xattr, not following symlinks

func LSetxattr

func LSetxattr(path string, attr string, data []byte, flags int) (err error)

LSetxattr sets an xattr, not following symlinks

func Listxattr

func Listxattr(path string) ([]string, error)

Listxattr calls syscall listxattr and reads all content and returns a string array

func Removexattr

func Removexattr(path string, attr string) (err error)

Removexattr calls syscall removexattr

func Setxattr

func Setxattr(path string, attr string, data []byte, flags int) (err error)

Setxattr calls syscall setxattr

Types

This section is empty.

Jump to

Keyboard shortcuts

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