• Tobias Klauser's avatar
    unix: add Major, Minor and Mkdev functions on Solaris · 1f337fdb
    Tobias Klauser authored
    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/64390Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    1f337fdb
Name
Last commit
Last update
plan9 Loading commit data...
unix Loading commit data...
windows Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
codereview.cfg Loading commit data...