Sign in
fuchsia
/
third_party
/
github.com
/
moby
/
moby
/
fe4ed9d78f496df5cac1eb914877f213f3f1c12c
/
.
/
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
}