2021-12-02 17:54:14 +01:00
|
|
|
// Copyright 2015 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2022-11-08 17:04:09 +01:00
|
|
|
//go:build go1.5
|
2021-12-02 17:54:14 +01:00
|
|
|
// +build go1.5
|
|
|
|
|
|
|
|
package plan9
|
|
|
|
|
|
|
|
import "syscall"
|
|
|
|
|
|
|
|
func fixwd() {
|
|
|
|
syscall.Fixwd()
|
|
|
|
}
|
|
|
|
|
|
|
|
func Getwd() (wd string, err error) {
|
|
|
|
return syscall.Getwd()
|
|
|
|
}
|
|
|
|
|
|
|
|
func Chdir(path string) error {
|
|
|
|
return syscall.Chdir(path)
|
|
|
|
}
|