Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for callWithVarargs (0.27 sec)

  1. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    // http://golang.org/issue/17641.
    static void callWithVarargs(void* dummy, ...) {
    	va_list args;
    	va_start(args, dummy);
    	va_end(args);
    }
    
    // Signal handler for SIGSEGV on a C thread.
    static void segvHandler(int signo, siginfo_t* info, void* ctxt) {
    	sigset_t mask;
    	int i;
    
    	// Call an arbitrary function that requires the stack to be properly aligned.
    	callWithVarargs("dummy arg", 3.1415);
    
    	if (sigemptyset(&mask) < 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top