mirror of https://github.com/golang/go.git
pkg/syscall: add Mkfifo for linux platforms
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5131055
This commit is contained in:
parent
c31f987bd6
commit
0b534bc9c3
|
|
@ -190,6 +190,10 @@ func Sleep(nsec int64) (errno int) {
|
|||
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
|
||||
// creation of IPv6 sockets to return EAFNOSUPPORT.
|
||||
var SocketDisableIPv6 bool
|
||||
|
|
|
|||
Loading…
Reference in New Issue