Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _C_res_nclose (0.72 sec)

  1. src/net/cgo_unix.go

    		clear(memSlice)
    		state = (*_C_struct___res_state)(unsafe.Pointer(&memSlice[0]))
    	}
    	if err := _C_res_ninit(state); err != nil {
    		return nil, errors.New("res_ninit failure: " + err.Error())
    	}
    	defer _C_res_nclose(state)
    
    	// Some res_nsearch implementations (like macOS) do not set errno.
    	// They set h_errno, which is not per-thread and useless to us.
    	// res_nsearch returns the size of the DNS response packet.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top