1 // Copyright 2015 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.
12 func Getwd() (wd string, err error) {
13 fd, err := open(".", O_RDONLY)
21 func Chdir(path string) error {