os_overloads

package
v0.0.0-...-0b345dd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	FILE_FLAG_DELETE_ON_CLOSE = 0x04000000
)

Variables

This section is empty.

Functions

func Open

func Open(path string, mode int, perm uint32, setToTempAndDelete bool) (fd syscall.Handle, err error)

opens the

func OpenFile

func OpenFile(name string, flag int, perm os.FileMode, setToTempAndDelete bool) (file *os.File, err error)

If the bool is set to true then the file is opened with the parameters FILE_ATTRIBUTE_TEMPORARY and FILE_FLAG_DELETE_ON_CLOSE

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL