mirror of
https://github.com/golang/go
synced 2024-11-21 17:24:42 -07:00
syscall: implement Mkfifo on illumos
This commit is contained in:
parent
e0cd90528e
commit
38142b90bc
@ -280,6 +280,10 @@ func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int,
|
||||
return int(r0), err
|
||||
}
|
||||
|
||||
func Mkfifo(path string, mode uint32) (err error) {
|
||||
return Mknod(path, mode|S_IFIFO, 0)
|
||||
}
|
||||
|
||||
func gethostname() (name string, err uintptr)
|
||||
|
||||
func Gethostname() (name string, err error) {
|
||||
|
Loading…
Reference in New Issue
Block a user