You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: open_file_notwindows.go
    path of file: ./repos/sliver/vendor/github.com/tetratelabs/wazero/internal/sysfs
    
    the code of the file until where you have to start completion: //go:build !windows

package sysfs

import (
	"io/fs"
	"os"

	"github.com/tetratelabs/wa
    
func openFile(path string, oflag fsapi.Oflag, perm fs.FileMode) (*os.File, sys.Errno) {
	f, err := os.OpenFile(path, toOsOpenFlag(oflag), perm)
	// Note: This does not return a fsapi.File because fsapi.FS that returns
	// one may want to hide the real OS path. For example, this is needed for
	// pre-opens.
	return f, sys.UnwrapOSError(err)
}