github.com/geraldss/go/src@v0.0.0-20210511222824-ac7d0ebfc235/runtime/testdata/testprog/syscalls_none.go (about) 1 // Copyright 2017 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 !linux 6 7 package main 8 9 func gettid() int { 10 return 0 11 } 12 13 func tidExists(tid int) (exists, supported bool) { 14 return false, false 15 } 16 17 func getcwd() (string, error) { 18 return "", nil 19 } 20 21 func unshareFs() error { 22 return nil 23 } 24 25 func chdir(path string) error { 26 return nil 27 }