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 389B

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