mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
1f337fdb7fffc2ab9c536b9b462da1521d706042
Add Major, Minor and Mkdev functions for converting device numbers to their major/minor components and vice versa. Use the respective functions provided by the Solaris libc instead of reimplementing them. Test the conversion function with some well-known static device numbers for devices which should be present on any Solaris system. Re-generated files on OpenIndiana Hipster 2017.04 (SunOS 5.11) which also added some previously missing error constants. Change-Id: Ief9ea973d91c24956571eb8fafc8a4525b0f5b90 Reviewed-on: https://go-review.googlesource.com/64390 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
Languages
Go
85.8%
Assembly
12.3%
Shell
1.7%
C
0.1%