Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cmsgAlignOf (0.09 sec)

  1. src/syscall/sockcmsg_unix.go

    // structure, taking into account any necessary alignment.
    func CmsgLen(datalen int) int {
    	return cmsgAlignOf(SizeofCmsghdr) + datalen
    }
    
    // CmsgSpace returns the number of bytes an ancillary element with
    // payload of the passed data length occupies.
    func CmsgSpace(datalen int) int {
    	return cmsgAlignOf(SizeofCmsghdr) + cmsgAlignOf(datalen)
    }
    
    func (h *Cmsghdr) data(offset uintptr) unsafe.Pointer {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top