github.com/gogf/gkafka@v1.0.1-0.20190702070843-033a14468069/third/golang.org/x/sys/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  // +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  }