https://cs.opensource.google/go/x/sys

Last synced: 2 months ago


Owner metadata:


Package metadata

go: golang.org/x/sys/unix

Package unix contains an interface to the low-level operating system primitives. OS details vary depending on the underlying system, and by default, godoc will display OS-specific documentation for the current system. If you want godoc to display OS documentation for another system, set $GOOS and $GOARCH to the desired system. For example, if you want to view documentation for freebsd/arm on linux/amd64, set $GOOS to freebsd and $GOARCH to arm. The primary use of this package is inside other packages that provide a more portable interface to the system, such as "os", "time" and "net". Use those packages rather than this one if you can. For details of the functions and data types in this package consult the manuals for the appropriate operating system. These calls return err == nil to indicate success; otherwise err represents an operating system error describing the failure and holds a value of type syscall.Errno.

  • Homepage: https://cs.opensource.google/go/x/sys
  • Documentation: https://pkg.go.dev/golang.org/x/sys/unix#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release:
  • Last Synced: 2024-11-11T01:12:13.893Z (2 months ago)
  • Versions: 0
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Docker Downloads: 9
  • Rankings:
    • Dependent packages count: 6.338%
    • Average: 6.552%
    • Dependent repos count: 6.766%
go: golang.org/x/sys