unix

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package unix is a nix* specific package that assists with calling Unix/Linux/BSD specific functions and data gathering.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMachine64

func IsMachine64() bool

IsMachine64 returns true if the underlying kernel reports the machine type as one that runs on a 64bit CPU (in 64bit mode). Otherwise, it returns false.

If any errors occur, this functions returns false.

func Release

func Release() string

Release returns the system "uname" release version as a string. The underlying system call is depdent on the underlying system.

If any errors occur, this functions returns an empty string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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