syscallx

package
v0.0.0-...-2f1a4f0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2014 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 1 Imported by: 0

Documentation

Overview

Package syscallx provides wrappers that make syscalls on various platforms more interoperable.

The API intentionally omits the OS X-specific position and option arguments for extended attribute calls.

Not having position means it might not be useful for accessing the resource fork. xIf that's needed by code inside fuse, a function with a different name may be added on the side.

Options can be implemented with separate wrappers, in the style of Linux getxattr/lgetxattr/fgetxattr.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Getxattr

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

func Listxattr

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

func Removexattr

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

func Setxattr

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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