Moved remaining platform dependent UAPI code
This commit is contained in:
parent
18714fc4a4
commit
47f8a3d89a
4 changed files with 44 additions and 35 deletions
|
|
@ -2,11 +2,20 @@ package main
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"golang.org/x/sys/unix"
|
||||
"net"
|
||||
"os"
|
||||
"time"
|
||||
)
|
||||
|
||||
const (
|
||||
ipcErrorIO = int64(unix.EIO)
|
||||
ipcErrorNoPeer = int64(unix.EPROTO)
|
||||
ipcErrorNoKeyValue = int64(unix.EPROTO)
|
||||
ipcErrorInvalidKey = int64(unix.EPROTO)
|
||||
ipcErrorInvalidValue = int64(unix.EPROTO)
|
||||
)
|
||||
|
||||
/* TODO:
|
||||
* This code can be improved by using fsnotify once:
|
||||
* https://github.com/fsnotify/fsnotify/pull/205
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue