pwd_go15_plan9.go
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
7package plan9
8
9import "syscall"
10
11func fixwd() {
12 syscall.Fixwd()
13}
14
15func Getwd() (wd string, err error) {
16 return syscall.Getwd()
17}
18
19func Chdir(path string) error {
20 return syscall.Chdir(path)
21}