MCPcopy Index your code
hub / github.com/coder/envbox / dev

Function dev

xunix/device.go:126–129  ·  view source on GitHub ↗
(major, minor uint)

Source from the content-addressed store, hash-verified

124}
125
126func dev(major, minor uint) uint {
127 // This is lifted from the Linux kernel's makedev function.
128 return ((major & 0xfff) << 8) | (minor & 0xff)
129}

Callers 2

CreateTUNDeviceFunction · 0.85
CreateFuseDeviceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected