golang.org/x/sys@v0.20.1-0.20240517151509-673e0f94c16d/plan9/pwd_go15_plan9.go (about) 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 //go:build go1.5 6 7 package plan9 8 9 import "syscall" 10 11 func fixwd() { 12 syscall.Fixwd() 13 } 14 15 func Getwd() (wd string, err error) { 16 return syscall.Getwd() 17 } 18 19 func Chdir(path string) error { 20 return syscall.Chdir(path) 21 }