Source File
stubs2.go
Belonging Package
runtime
// Copyright 2014 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.//go:build !aix && !darwin && !js && !openbsd && !plan9 && !solaris && !wasip1 && !windowspackage runtimeimport ()// read calls the read system call.// It returns a non-negative number of bytes written or a negative errno value.func read( int32, unsafe.Pointer, int32) int32func closefd( int32) int32func exit( int32)func usleep( uint32)//go:nosplitfunc usleep_no_g( uint32) {usleep()}// write1 calls the write system call.// It returns a non-negative number of bytes written or a negative errno value.////go:noescapefunc write1( uintptr, unsafe.Pointer, int32) int32//go:noescapefunc open( *byte, , int32) int32// return value is only set on linux to be used in osinit().func madvise( unsafe.Pointer, uintptr, int32) int32// exitThread terminates the current thread, writing *wait = freeMStack when// the stack is safe to reclaim.////go:noescapefunc exitThread( *atomic.Uint32)
![]() |
The pages are generated with Golds v0.7.9-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |