mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-17 12:30:23 -04:00
22 lines
372 B
Go
22 lines
372 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.
|
||
|
|
||
|
// +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)
|
||
|
}
|