Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for __pad12 (0.16 sec)

  1. src/cmd/cgo/doc.go

    function _cgo_be59f0f25121_Cfunc_puts is implemented in a C source
    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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    			// Ignore field names that don't have the prefix we're
    			// looking for. It is common in C headers to have fields
    			// named, say, _pad in an otherwise prefixed header.
    			// If the struct has 3 fields tv_sec, tv_usec, _pad1, then we
    			// still want to remove the tv_ prefix.
    			// The check for "orig_" here handles orig_eax in the
    			// x86 ptrace register sets, which otherwise have all fields
    			// with reg_ prefixes.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top