Mercurial > hg > CbC > CbC_gcc
annotate libgo/go/os/getwd_darwin.go @ 138:fc828634a951
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 08 Nov 2018 14:17:14 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | |
3 // license that can be found in the LICENSE file. | |
4 | |
5 package os | |
6 | |
7 import "syscall" | |
8 | |
9 func init() { | |
10 useSyscallwd = useSyscallwdDarwin | |
11 } | |
12 | |
13 func useSyscallwdDarwin(err error) bool { | |
14 return err != syscall.ENOTSUP | |
15 } |