github.com/markusbkk/elvish@v0.0.0-20231204143114-91dc52438621/pkg/cli/lscolors/feature_unix_test.go (about)

     1  //go:build !windows && !plan9 && !js
     2  // +build !windows,!plan9,!js
     3  
     4  package lscolors
     5  
     6  import (
     7  	"golang.org/x/sys/unix"
     8  )
     9  
    10  func createNamedPipe(fname string) error {
    11  	return unix.Mkfifo(fname, 0600)
    12  }