Debian Codegraph @

plan9/pwd_plan9.go

raw
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.
4
5 package plan9
6
7 import "syscall"
8
9 func fixwd() {
10 syscall.Fixwd()
11 }
12
13 func Getwd() (wd string, err error) {
14 return syscall.Getwd()
15 }
16
17 func Chdir(path string) error {
18 return syscall.Chdir(path)
19 }