Documentation ¶
Overview ¶
Package syscallx provides system call utilities that attempt to hide platform differences. Operations return UnsupportedErr if not implemented on the given platform. Consumers of this package should generally treat that error specially.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UnsupportedErr = errors.New("not supported on platform")
UnsupportedErr is the error returned for unsupported operations.
Functions ¶
func FreeDiskSpace ¶
FreeDiskSpace returns the free disk space for a given path.
func PhysicalMemorySize ¶
PhysicalMemorySize returns the total physical memory size.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.