Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for writeErrData (0.12 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)
  2. src/runtime/write_err.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !android
    
    package runtime
    
    //go:nosplit
    func writeErr(b []byte) {
    	if len(b) > 0 {
    		writeErrData(&b[0], int32(len(b)))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 296 bytes
    - Viewed (0)
  3. src/runtime/write_err_android.go

    			logger = logd
    			initLogd()
    		} else {
    			logger = legacy
    			initLegacy()
    		}
    	}
    
    	// Write to stderr for command-line programs,
    	// and optionally to SetCrashOutput file.
    	writeErrData(&b[0], int32(len(b)))
    
    	// Log format: "<header>\x00<message m bytes>\x00"
    	//
    	// <header>
    	//   In legacy mode: "<priority 1 byte><tag n bytes>".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top