- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for libcFunc (0.12 sec)
-
src/runtime/os_solaris.go
//LibCall libcall; ts mts scratch mscratch } type libcFunc uintptr //go:linkname asmsysvicall6x runtime.asmsysvicall6 var asmsysvicall6x libcFunc // name to take addr of asmsysvicall6 func asmsysvicall6() // declared for vet; do NOT call //go:nosplit func sysvicall0(fn *libcFunc) uintptr { // Leave caller's PC/SP around for traceback. gp := getg() var mp *m if gp != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 6.6K bytes - Viewed (0) -
src/syscall/exec_solaris_test.go
//go:cgo_import_dynamic libc_Getpgid getpgid "libc.so" //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.so" //go:linkname libc_Getpgid libc_Getpgid //go:linkname libc_Getpgrp libc_Getpgrp var ( libc_Getpgid, libc_Getpgrp libcFunc ) func Getpgid(pid int) (pgid int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&libc_Getpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0) pgid = int(r0) if e1 != 0 { err = e1 } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 1.1K bytes - Viewed (0) -
src/syscall/syscall_illumos.go
import "unsafe" // F_DUP2FD_CLOEXEC has different values on Solaris and Illumos. const F_DUP2FD_CLOEXEC = 0x24 //go:cgo_import_dynamic libc_flock flock "libc.so" //go:linkname procFlock libc_flock var procFlock libcFunc func Flock(fd int, how int) error { _, _, errno := sysvicall6(uintptr(unsafe.Pointer(&procFlock)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0) if errno != 0 { return errno } return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 15 21:07:18 UTC 2022 - 613 bytes - Viewed (0) -
src/syscall/exec_aix_test.go
//go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.a/shr_64.o" //go:linkname libc_Getpgid libc_Getpgid //go:linkname libc_Getpgrp libc_Getpgrp var ( libc_Getpgid, libc_Getpgrp libcFunc ) func Getpgid(pid int) (pgid int, err error) { r0, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_Getpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0) pgid = int(r0) if e1 != 0 { err = e1 } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 1.1K bytes - Viewed (0) -
src/runtime/os_illumos.go
//go:linkname libc_rctlblk_size libc_rctlblk_size var ( libc_getrctl, libc_rctlblk_get_local_action, libc_rctlblk_get_local_flags, libc_rctlblk_get_value, libc_rctlblk_size libcFunc ) // Return the minimum value seen for the zone CPU cap, or 0 if no cap is // detected. func getcpucap() uint64 { // The resource control block is an opaque object whose size is only
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 28 18:06:12 UTC 2019 - 3.9K bytes - Viewed (0) -
src/syscall/mksyscall_libc.pl
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 11:28:51 UTC 2023 - 8K bytes - Viewed (0) -
src/runtime/syscall_solaris.go
libc_forkx, libc_gethostname, libc_getpid, libc_ioctl, libc_setgid, libc_setgroups, libc_setrlimit, libc_setsid, libc_setuid, libc_setpgid, libc_syscall, libc_issetugid, libc_wait4 libcFunc ) // Many of these are exported via linkname to assembly in the syscall // package. //go:nosplit //go:linkname syscall_sysvicall6 //go:cgo_unsafe_args
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 8.4K bytes - Viewed (0) -
src/runtime/netpoll_solaris.go
//go:linkname libc_port_getn libc_port_getn //go:linkname libc_port_alert libc_port_alert var ( libc_port_create, libc_port_associate, libc_port_dissociate, libc_port_getn, libc_port_alert libcFunc netpollWakeSig atomic.Uint32 // used to avoid duplicate calls of netpollBreak ) func errno() int32 { return *getg().m.perrno } func port_create() int32 { return int32(sysvicall0(&libc_port_create))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 11.2K bytes - Viewed (0) -
src/runtime/os3_solaris.go
libc_sem_post, libc_sem_reltimedwait_np, libc_sem_wait, libc_setitimer, libc_sigaction, libc_sigaltstack, libc_sigprocmask, libc_sysconf, libc_usleep, libc_write, libc_pipe2 libcFunc ) var sigset_all = sigset{[4]uint32{^uint32(0), ^uint32(0), ^uint32(0), ^uint32(0)}} func getPageSize() uintptr { n := int32(sysconf(__SC_PAGESIZE)) if n <= 0 { return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 17.6K bytes - Viewed (0) -
src/syscall/zsyscall_solaris_amd64.go
//go:linkname libc_recvfrom libc_recvfrom //go:linkname libc___xnet_recvmsg libc___xnet_recvmsg //go:linkname libc_getexecname libc_getexecname //go:linkname libc_utimensat libc_utimensat type libcFunc uintptr var ( libc_pipe2, libc_accept4, libc_Getcwd, libc_getgroups, libc_setgroups, libc_fcntl, libc_accept, libc___xnet_sendmsg, libc_Access, libc_Adjtime,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 10 21:09:10 UTC 2023 - 37.6K bytes - Viewed (0)