mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-10-19 07:55:07 +00:00
22 lines
373 B
Go
22 lines
373 B
Go
|
// 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.
|
||
|
|
||
|
//go: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)
|
||
|
}
|