Sign in
fuchsia
/
third_party
/
github.com
/
moby
/
moby
/
2ba8ce708727578752d9838d9c4db945cd008792
/
.
/
pkg
/
system
/
umask.go
blob: 5a10eda5afb091523e406d5c063930fd35b97102 [
file
] [
log
] [
blame
]
// +build !windows
package system
import (
"golang.org/x/sys/unix"
)
// Umask sets current process's file mode creation mask to newmask
// and returns oldmask.
func Umask(newmask int) (oldmask int, err error) {
return unix.Umask(newmask), nil
}