Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 511 for libc (0.06 sec)

  1. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryBinariesIntegrationTest.groovy

    apply plugin: "cpp"
    apply plugin: "c"
    
    model {
        components {
            libCpp(NativeLibrarySpec)
            libC(NativeLibrarySpec)
            main(NativeExecutableSpec) {
                sources {
                    cpp.lib library: 'libCpp', linkage: 'static'
                    c.lib library: 'libC', linkage: 'static'
                }
            }
        }
    }
    """
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. src/syscall/mksyscall_libc.pl

    	# So file name.
    	if($aix) {
    		if($modname eq "") {
    			$modname = "libc.a/shr_64.o";
    		} else {
    			print STDERR "$func: only syscall using libc are available\n";
    			$errors = 1;
    			next;
    		}
    
    	}
    	if($solaris) {
    		if($modname eq "") {
    			$modname = "libc";
    		}
    		$modname .= ".so";
    
    	}
    
    	# System call name.
    	if($sysname eq "") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 11:28:51 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. src/syscall/exec_aix_test.go

    // license that can be found in the LICENSE file.
    
    //go:build aix
    
    package syscall
    
    import "unsafe"
    
    //go:cgo_import_dynamic libc_Getpgid getpgid "libc.a/shr_64.o"
    //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
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/runtime/cgo/openbsd.go

    // license that can be found in the LICENSE file.
    
    //go:build openbsd
    
    package cgo
    
    import _ "unsafe" // for go:linkname
    
    // Supply __guard_local because we don't link against the standard
    // OpenBSD crt0.o and the libc dynamic library needs it.
    
    //go:linkname _guard_local __guard_local
    
    var _guard_local uintptr
    
    // This is normally marked as hidden and placed in the
    // .openbsd.randomdata section.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 566 bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/sys_openbsd.go

    	KeepAlive(arg) // Just for consistency. Arg of course needs to be kept alive for the start function.
    	return ret
    }
    func pthread_create_trampoline()
    
    // Tell the linker that the libc_* functions are to be found
    // in a system library, with the libc_ prefix missing.
    
    //go:cgo_import_dynamic libc_pthread_attr_init pthread_attr_init "libpthread.so"
    //go:cgo_import_dynamic libc_pthread_attr_destroy pthread_attr_destroy "libpthread.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 30 03:11:18 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  7. src/runtime/cgo/linux_syscall.c

    #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
     * ensures that all Go threads launched with cgo are kept in sync for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. src/runtime/sys_darwin_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_error(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: Thu Aug 03 16:07:59 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/testdata/tsan11.go

    package main
    
    // This program hung when run under the C/C++ ThreadSanitizer. TSAN defers
    // asynchronous signals until the signaled thread calls into libc. The runtime's
    // sysmon goroutine idles itself using direct usleep syscalls, so it could
    // run for an arbitrarily long time without triggering the libc interceptors.
    // See https://golang.org/issue/18717.
    
    import (
    	"os"
    	"os/signal"
    	"syscall"
    )
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. 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)
Back to top