summaryrefslogtreecommitdiff
path: root/src/os/getwd_darwin.go
blob: e51ffcd5e711c6c000f0b370e500256c00fd0064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package os

import "syscall"

func init() {
	useSyscallwd = useSyscallwdDarwin
}

func useSyscallwdDarwin(err error) bool {
	return err != syscall.ENOTSUP
}