- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for _C_int (0.15 sec)
-
src/net/cgo_unix_syscall.go
func _C_ai_family(ai *_C_struct_addrinfo) *_C_int { return &ai.Family } func _C_ai_flags(ai *_C_struct_addrinfo) *_C_int { return &ai.Flags } func _C_ai_next(ai *_C_struct_addrinfo) **_C_struct_addrinfo { return &ai.Next } func _C_ai_protocol(ai *_C_struct_addrinfo) *_C_int { return &ai.Protocol } func _C_ai_socktype(ai *_C_struct_addrinfo) *_C_int { return &ai.Socktype }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 23:50:56 UTC 2024 - 3K bytes - Viewed (0) -
src/net/cgo_unix_cgo.go
func _C_ai_family(ai *_C_struct_addrinfo) *_C_int { return &ai.ai_family } func _C_ai_flags(ai *_C_struct_addrinfo) *_C_int { return &ai.ai_flags } func _C_ai_next(ai *_C_struct_addrinfo) **_C_struct_addrinfo { return &ai.ai_next } func _C_ai_protocol(ai *_C_struct_addrinfo) *_C_int { return &ai.ai_protocol } func _C_ai_socktype(ai *_C_struct_addrinfo) *_C_int { return &ai.ai_socktype }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 17:49:28 UTC 2024 - 2.2K bytes - Viewed (0) -
src/syscall/syscall_netbsd.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 7.8K bytes - Viewed (0) -
src/syscall/syscall_freebsd.go
Family uint8 Index uint16 Type uint8 Nlen uint8 Alen uint8 Slen uint8 Data [46]int8 raw RawSockaddrDatalink } // Translate "kern.hostname" to []_C_int{0,1,2,3}. func nametomib(name string) (mib []_C_int, err error) { const siz = unsafe.Sizeof(mib[0]) // NOTE(rsc): It seems strange to set the buffer to have // size CTL_MAXNAME+2 but use only CTL_MAXNAME
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 8.7K bytes - Viewed (0) -
src/syscall/syscall_dragonfly.go
Type uint8 Nlen uint8 Alen uint8 Slen uint8 Data [12]int8 Rcf uint16 Route [16]uint16 raw RawSockaddrDatalink } // Translate "kern.hostname" to []_C_int{0,1,2,3}. func nametomib(name string) (mib []_C_int, err error) { const siz = unsafe.Sizeof(mib[0]) // NOTE(rsc): It seems strange to set the buffer to have // size CTL_MAXNAME+2 but use only CTL_MAXNAME
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 8.5K bytes - Viewed (0) -
src/syscall/exec_bsd.go
goto childerror } } if sys.Foreground { // This should really be pid_t, however _C_int (aka int32) is // generally equivalent. pgrp = _C_int(sys.Pgid) if pgrp == 0 { r1, _, err1 = RawSyscall(SYS_GETPID, 0, 0, 0) if err1 != 0 { goto childerror } pgrp = _C_int(r1) } // Place process group in foreground.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 7.9K bytes - Viewed (0) -
src/internal/syscall/unix/tcsetpgrp_linux.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package unix import ( "syscall" "unsafe" ) // Note that pgid should really be pid_t, however _C_int (aka int32) is // generally equivalent. func Tcsetpgrp(fd int, pgid int32) (err error) { _, _, errno := syscall.Syscall6(syscall.SYS_IOCTL, uintptr(fd), uintptr(syscall.TIOCSPGRP), uintptr(unsafe.Pointer(&pgid)), 0, 0, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 10:09:15 UTC 2024 - 537 bytes - Viewed (0) -
src/syscall/exec_freebsd.go
goto childerror } } if sys.Foreground { // This should really be pid_t, however _C_int (aka int32) is // generally equivalent. pgrp = _C_int(sys.Pgid) if pgrp == 0 { r1, _, err1 = RawSyscall(SYS_GETPID, 0, 0, 0) if err1 != 0 { goto childerror } pgrp = _C_int(r1) } // Place process group in foreground.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.4K bytes - Viewed (0) -
src/internal/syscall/unix/tcsetpgrp_bsd.go
package unix import ( "syscall" "unsafe" ) //go:linkname ioctlPtr syscall.ioctlPtr func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) // Note that pgid should really be pid_t, however _C_int (aka int32) is // generally equivalent. func Tcsetpgrp(fd int, pgid int32) (err error) { return ioctlPtr(fd, syscall.TIOCSPGRP, unsafe.Pointer(&pgid))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 10:09:15 UTC 2024 - 588 bytes - Viewed (0) -
src/syscall/syscall_openbsd1.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 534 bytes - Viewed (0)