You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pwd_go15_plan9.go 373B

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. //go: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. }