github.com/Kalvelign/golang-windows-sys-lib@v0.0.0-20221121121202-63da651435e1/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  //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  }