- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 537 for libc (0.05 sec)
-
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/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) -
src/internal/xcoff/file_test.go
{".dwarnge", 0x00000000, 0x00000020, STYP_DWARF | SSUBTYP_DWARNGE, 0x7f5a, 0x2}, {".dwloc", 0x00000000, 0x00000074, STYP_DWARF | SSUBTYP_DWLOC, 0, 0}, {".debug", 0x00000000, 0x00005e4f, STYP_DEBUG, 0, 0}, }, []string{"libc.a/shr.o"}, }, { "testdata/gcc-ppc64-aix-dwarf2-exec", FileHeader{U64_TOCMAGIC}, []*SectionHeader{ {".text", 0x10000480, 0x00000afd, STYP_TEXT, 0x8322, 0x34},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 10 18:52:31 UTC 2018 - 3K 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) -
src/internal/syscall/unix/eaccess_openbsd.go
//go:linkname syscall_syscall6 syscall.syscall6 func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) func libc_faccessat_trampoline() //go:cgo_import_dynamic libc_faccessat faccessat "libc.so" func faccessat(dirfd int, path string, mode uint32, flags int) error { p, err := syscall.BytePtrFromString(path) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:36:52 UTC 2024 - 946 bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/testdata/malloc.go
// Test that C.malloc does not return nil. package main // #include <stdlib.h> import "C" import ( "fmt" "runtime" ) func main() { var size C.size_t size-- // The Dragonfly libc succeeds when asked to allocate // 0xffffffffffffffff bytes, so pass a different value that // causes it to fail. if runtime.GOOS == "dragonfly" { size = C.size_t(0x7fffffff << (32 * (^uintptr(0) >> 63))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 766 bytes - Viewed (0)