- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for libcFunc (0.15 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) -
platforms/documentation/docs/src/snippets/native-binaries/cpp-lib/groovy/src/main/headers/hello.h
#if defined(_WIN32) && defined(DLL_EXPORT) #define LIB_FUNC __declspec(dllexport) #else #define LIB_FUNC #endif
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 136 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/pre-compiled-headers/groovy/src/hello/headers/hello.h
#ifndef HELLO_H #define HELLO_H #if defined(_WIN32) && defined(DLL_EXPORT) #define LIB_FUNC __declspec(dllexport) #else #define LIB_FUNC #endif class Greeter { public: void LIB_FUNC hello(); };
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 210 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/c/groovy/src/hello/headers/hello.h
#if defined(_WIN32) && defined(DLL_EXPORT) #define LIB_FUNC __declspec(dllexport) #else #define LIB_FUNC #endif
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 137 bytes - Viewed (0)