David K. Bainbridge | bd6b288 | 2021-08-26 13:31:02 +0000 | [diff] [blame] | 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 | // +build go1.5 | ||||
6 | |||||
7 | package plan9 | ||||
8 | |||||
9 | import "syscall" | ||||
10 | |||||
11 | func fixwd() { | ||||
12 | syscall.Fixwd() | ||||
13 | } | ||||
14 | |||||
15 | func Getwd() (wd string, err error) { | ||||
16 | return syscall.Getwd() | ||||
17 | } | ||||
18 | |||||
19 | func Chdir(path string) error { | ||||
20 | return syscall.Chdir(path) | ||||
21 | } |