timex

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package timex provides a simple wrapper around adjtimex syscall.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State int

State is clock state.

func Adjtimex

func Adjtimex(buf *unix.Timex) (state State, err error)

Adjtimex provides a wrapper around syscall.Adjtimex.

func (State) String

func (state State) String() string

type Status

type Status int32

Status is bitmask field of statuses.

func (Status) String

func (status Status) String() string

Jump to

Keyboard shortcuts

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