1
0
mirror of https://github.com/golang/go synced 2024-11-21 11:04:40 -07:00

syscall: implement Mkfifo on illumos

This commit is contained in:
Jonathan Perkin 2024-04-02 16:33:59 +01:00
parent e0cd90528e
commit 38142b90bc

View File

@ -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) {