mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
fs: Add O_NONBLOCK
This commit is contained in:
parent
4e34325035
commit
19b9c881ca
@ -13,4 +13,5 @@ const (
|
||||
O_EXCL int = syscall.O_EXCL // used with O_CREATE, file must not exist
|
||||
O_SYNC int = syscall.O_SYNC // open for synchronous I/O.
|
||||
O_TRUNC int = syscall.O_TRUNC // if possible, truncate file when opened.
|
||||
O_NONBLOCK int = syscall.O_NONBLOCK // don't block open on fifos etc.
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user