- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 511 for libc (0.06 sec)
-
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/testdata/testprogcgo/stackswitch.c
#include <assert.h> #include <pthread.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <ucontext.h> // musl libc does not provide getcontext, etc. Skip the test there. // // musl libc doesn't provide any direct detection mechanism. So assume any // non-glibc linux is using musl. // // Note that bionic does not provide getcontext either, but that is skipped via // the android build tag.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 15:17:33 UTC 2023 - 3.9K bytes - Viewed (0) -
src/runtime/mem_plan9.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import "unsafe" func sbrk(n uintptr) unsafe.Pointer { // Plan 9 sbrk from /sys/src/libc/9sys/sbrk.c bl := bloc n = memRound(n) if bl+n > blocMax { if brk_(unsafe.Pointer(bl+n)) < 0 { return nil } blocMax = bl + n } bloc += n return unsafe.Pointer(bl)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 21 02:45:06 UTC 2023 - 447 bytes - Viewed (0) -
src/runtime/cgo/freebsd.go
//go:build freebsd package cgo import _ "unsafe" // for go:linkname // Supply environ and __progname, because we don't // link against the standard FreeBSD crt0.o and the // libc dynamic library needs them. //go:linkname _environ environ //go:linkname _progname __progname //go:cgo_export_dynamic environ //go:cgo_export_dynamic __progname var _environ uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 549 bytes - Viewed (0) -
src/runtime/cgo/netbsd.go
//go:build netbsd package cgo import _ "unsafe" // for go:linkname // Supply environ and __progname, because we don't // link against the standard NetBSD crt0.o and the // libc dynamic library needs them. //go:linkname _environ environ //go:linkname _progname __progname //go:linkname ___ps_strings __ps_strings var _environ uintptr var _progname uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 546 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) -
ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch
+ __extension__ struct __gconv_step_data __data[0]; } *__gconv_t; #endif /* gconv.h */ diff --git a/include/libc-symbols.h b/include/libc-symbols.h index c555bf2..143b26d 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -107,6 +107,11 @@ # endif #endif +#ifndef __attribute_copy__ +/* Provide an empty definition when cdefs.h is not included. */
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 8.9K bytes - Viewed (0) -
src/vendor/golang.org/x/net/lif/syscall.go
// license that can be found in the LICENSE file. //go:build solaris package lif import ( "syscall" "unsafe" ) //go:cgo_import_dynamic libc_ioctl ioctl "libc.so" //go:linkname procIoctl libc_ioctl var procIoctl uintptr func sysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (uintptr, uintptr, syscall.Errno) func ioctl(s, ioc uintptr, arg unsafe.Pointer) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 642 bytes - Viewed (0) -
src/net/nss_test.go
import ( "reflect" "testing" "time" ) const ubuntuTrustyAvahi = `# /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the libc-doc-reference' and nfo' packages installed, try: # nfo libc "Name Service Switch"' for information about this file. passwd: compat group: compat shadow: compat hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:15:51 UTC 2022 - 3.4K bytes - Viewed (0)