github.com/tetratelabs/wazero@v1.2.1/internal/fsapi/constants.go (about)

     1  //go:build !windows && !js && !illumos && !solaris
     2  
     3  package fsapi
     4  
     5  import "syscall"
     6  
     7  // Simple aliases to constants in the syscall package for portability with
     8  // platforms which do not have them (e.g. windows)
     9  const (
    10  	O_DIRECTORY = syscall.O_DIRECTORY
    11  	O_NOFOLLOW  = syscall.O_NOFOLLOW
    12  	O_NONBLOCK  = syscall.O_NONBLOCK
    13  )