syscallx

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2016 License: BSD-2-Clause, BSD-3-Clause, HPND, + 1 more Imports: 3 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. If 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 Msync

func Msync(b []byte, flags 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