Commit 0b534bc9 authored by Paul Borman's avatar Paul Borman Committed by Brad Fitzpatrick

pkg/syscall: add Mkfifo for linux platforms

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5131055
parent c31f987b
...@@ -190,6 +190,10 @@ func Sleep(nsec int64) (errno int) { ...@@ -190,6 +190,10 @@ func Sleep(nsec int64) (errno int) {
return err return err
} }
func Mkfifo(path string, mode uint32) (errno int) {
return Mknod(path, mode|S_IFIFO, 0)
}
// For testing: clients can set this flag to force // For testing: clients can set this flag to force
// creation of IPv6 sockets to return EAFNOSUPPORT. // creation of IPv6 sockets to return EAFNOSUPPORT.
var SocketDisableIPv6 bool var SocketDisableIPv6 bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment