src.elv.sh@v0.21.0-dev.0.20240515223629-06979efb9a2a/pkg/cli/lscolors/feature_unix_test.go (about)

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