pwd_go15_plan9.go 372 B

123456789101112131415161718192021
  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. // +build go1.5
  5. package plan9
  6. import "syscall"
  7. func fixwd() {
  8. syscall.Fixwd()
  9. }
  10. func Getwd() (wd string, err error) {
  11. return syscall.Getwd()
  12. }
  13. func Chdir(path string) error {
  14. return syscall.Chdir(path)
  15. }