Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for __attribute__ (0.17 sec)

  1. src/cmd/cgo/doc.go

    file compiled by gcc, the file x.cgo2.c:
    
    	void
    	_cgo_be59f0f25121_Cfunc_puts(void *v)
    	{
    		struct {
    			char* p0;
    			int r;
    			char __pad12[4];
    		} __attribute__((__packed__, __gcc_struct__)) *a = v;
    		a->r = puts((void*)a->p0);
    	}
    
    It extracts the arguments from the pointer to _Cfunc_puts's argument
    frame, invokes the system C function (in this case, puts), stores the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top