sys module - golang.org/x/sys - Go Packages (original) (raw)

  1. Discover Packages
  2. golang.org/x/sys

v0.39.0 Published: Nov 25, 2025 License: BSD-3-Clause

README

sys

Go Reference

This repository holds supplemental Go packages for low-level interactions with the operating system.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.

The git repository is https://go.googlesource.com/sys.

The main issue tracker for the sys repository is located athttps://go.dev/issues. Prefix your issue with "x/sys:" in the subject line, so it is easy to find.

Directories

Path Synopsis
cpu Package cpu implements processor feature detection for various CPU architectures. Package cpu implements processor feature detection for various CPU architectures.
execabs Package execabs is a drop-in replacement for os/exec that requires PATH lookups to find absolute paths. Package execabs is a drop-in replacement for os/exec that requires PATH lookups to find absolute paths.
unix Package unix contains an interface to the low-level operating system primitives. Package unix contains an interface to the low-level operating system primitives.
internal/mkmerge command The mkmerge command parses generated source files and merges common consts, funcs, and types into a common source file, per GOOS. The mkmerge command parses generated source files and merges common consts, funcs, and types into a common source file, per GOOS.
windows Package windows contains an interface to the low-level operating system primitives. Package windows contains an interface to the low-level operating system primitives.
mkwinsyscall command mkwinsyscall generates windows system call bodies mkwinsyscall generates windows system call bodies
registry Package registry provides access to the Windows registry. Package registry provides access to the Windows registry.
svc Package svc provides everything required to build Windows service. Package svc provides everything required to build Windows service.
svc/debug Package debug provides facilities to execute svc.Handler on console. Package debug provides facilities to execute svc.Handler on console.
svc/eventlog Package eventlog implements access to Windows event log. Package eventlog implements access to Windows event log.
svc/example command Example service program that beeps. Example service program that beeps.
svc/mgr Package mgr can be used to manage Windows service programs. Package mgr can be used to manage Windows service programs.