From 38142b90bc8fbf25a31d3e12702e22af5d5af1e2 Mon Sep 17 00:00:00 2001 From: Jonathan Perkin Date: Tue, 2 Apr 2024 16:33:59 +0100 Subject: [PATCH] syscall: implement Mkfifo on illumos --- src/syscall/syscall_solaris.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/syscall/syscall_solaris.go b/src/syscall/syscall_solaris.go index 30400b4fac8..89e9459483a 100644 --- a/src/syscall/syscall_solaris.go +++ b/src/syscall/syscall_solaris.go @@ -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) {