internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sys abstracts operating system features for p9.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractErrno

func ExtractErrno(err error) linux.Errno

ExtractErrno extracts a linux.Errno from a error, best effort.

If the system-specific or Go-specific error cannot be mapped to anything, it will be logged an EIO will be returned.

Types

type Stat_t

type Stat_t = unix.Stat_t

Stat_t is the Linux Stat_t.

func InfoToStat

func InfoToStat(fi os.FileInfo) *Stat_t

InfoToStat takes a platform native FileInfo and converts it into a 9P2000.L compatible Stat_t

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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