...

Source file src/runtime/testdata/testprog/syscalls_none.go

Documentation: runtime/testdata/testprog

     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  //go:build !linux
     6  // +build !linux
     7  
     8  package main
     9  
    10  func gettid() int {
    11  	return 0
    12  }
    13  
    14  func tidExists(tid int) (exists, supported bool, err error) {
    15  	return false, false, nil
    16  }
    17  
    18  func getcwd() (string, error) {
    19  	return "", nil
    20  }
    21  
    22  func unshareFs() error {
    23  	return nil
    24  }
    25  
    26  func chdir(path string) error {
    27  	return nil
    28  }
    29  

View as plain text