Tobias Klauser 1f337fdb7f unix: add Major, Minor and Mkdev functions on Solaris
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>
2017-09-18 21:40:44 +00:00
2016-02-22 20:26:01 +00:00
2017-09-12 23:54:04 +00:00
2014-12-08 10:44:52 +11:00
2015-03-18 17:04:21 +00:00
2015-02-20 05:00:49 +00:00
2012-03-17 15:20:58 +11:00
2014-08-08 14:33:53 -07:00

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
No description provided
Readme BSD-3-Clause 17 MiB
Languages
Go 85.8%
Assembly 12.3%
Shell 1.7%
C 0.1%