Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeErrData (0.32 sec)

  1. src/runtime/runtime.go

    // If SetCrashOutput(f) was called, it also writes to f.
    //
    //go:nosplit
    func writeErrStr(s string) {
    	writeErrData(unsafe.StringData(s), int32(len(s)))
    }
    
    // writeErrData is the common parts of writeErr{,Str}.
    //
    //go:nosplit
    func writeErrData(data *byte, n int32) {
    	write(2, unsafe.Pointer(data), n)
    
    	// If crashing, print a copy to the SetCrashOutput fd.
    	gp := getg()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top