Source file src/cmd/vendor/golang.org/x/sys/plan9/pwd_go15_plan9.go

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

View as plain text