- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,820 for libC (0.07 sec)
-
src/runtime/sys_openbsd_amd64.s
MOVQ DX, (5*8)(DI) // r2 // Standard libc functions return -1 on error // and set errno. CMPL AX, $-1 // Note: high 32 bits are junk JNE ok // Get error code from libc. CALL libc_errno(SB) MOVLQSX (AX), AX MOVQ (SP), DI MOVQ AX, (6*8)(DI) // err ok: XORL AX, AX // no error (it's ignored anyway) RET // syscallX calls a function in libc on behalf of the syscall package.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 15.5K 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/internal/syscall/unix/ioctl_aix.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" ) //go:cgo_import_dynamic libc_ioctl ioctl "libc.a/shr_64.o" //go:linkname libc_ioctl libc_ioctl var libc_ioctl uintptr // Implemented in syscall/syscall_aix.go. func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 16 16:58:24 UTC 2021 - 679 bytes - Viewed (0) -
src/runtime/rt0_linux_mipsx.s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 06 10:24:44 UTC 2021 - 797 bytes - Viewed (0) -
src/runtime/cgo/linux_syscall.c
#ifndef _GNU_SOURCE // setres[ug]id() API. #define _GNU_SOURCE #endif #include <grp.h> #include <sys/types.h> #include <unistd.h> #include <errno.h> #include "libcgo.h" /* * Assumed POSIX compliant libc system call wrappers. For linux, the * glibc/nptl/setxid mechanism ensures that POSIX semantics are * honored for all pthreads (by default), and this in turn with cgo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 22:38:02 UTC 2023 - 1.9K bytes - Viewed (0) -
src/runtime/cgo/gcc_android.c
abort(); } // Truncated to a different magic value on 32-bit; that's ok. #define magic1 (0x23581321345589ULL) // From https://android.googlesource.com/platform/bionic/+/refs/heads/android10-tests-release/libc/private/bionic_asm_tls.h#69. #define TLS_SLOT_APP 2 // inittls allocates a thread-local storage slot for g. // // It finds the first available slot using pthread_key_create and uses
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 09 23:17:17 UTC 2020 - 2.6K bytes - Viewed (0) -
src/runtime/sys_openbsd.go
//go:build openbsd && !mips64 package runtime import ( "internal/abi" "unsafe" ) // The *_trampoline functions convert from the Go calling convention to the C calling convention // and then call the underlying libc function. These are defined in sys_openbsd_$ARCH.s. //go:nosplit //go:cgo_unsafe_args func pthread_attr_init(attr *pthreadattr) int32 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 30 03:11:18 UTC 2021 - 2.6K bytes - Viewed (0) -
src/debug/plan9obj/testdata/hello.c
#include <u.h> #include <libc.h> void main(void) { print("hello, world\n");
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 80 bytes - Viewed (0) -
src/runtime/cgo_sigaction.go
// g0 to ensure we have enough room to call a libc function. // // The function literal that we pass to systemstack is not nosplit, but // that's ok: we'll be running on a fresh, clean system stack so the stack // check will always succeed anyway. systemstack(func() { ret = callCgoSigaction(uintptr(sig), new, old) }) } const EINVAL = 22 if ret == EINVAL {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 3.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/zsysnum_plan9.go
// mksysnum_plan9.sh /opt/plan9/sys/src/libc/9syscall/sys.h // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT package plan9 const ( SYS_SYSR1 = 0 SYS_BIND = 2 SYS_CHDIR = 3 SYS_CLOSE = 4 SYS_DUP = 5 SYS_ALARM = 6 SYS_EXEC = 7 SYS_EXITS = 8 SYS_FAUTH = 10 SYS_SEGBRK = 12 SYS_OPEN = 14 SYS_OSEEK = 16 SYS_SLEEP = 17
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 15 19:02:39 UTC 2021 - 1K bytes - Viewed (0)