Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for libc_ (0.15 sec)

  1. 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)
  2. src/syscall/mksyscall.pl

    	$text .= "}\n\n";
    	if($libc) {
    		if (not exists $trampolines{$funcname}) {
    			$trampolines{$funcname} = 1;
    			# The assembly trampoline that jumps to the libc routine.
    			$text .= "func ${funcname}_trampoline()\n\n";
    			# Tell the linker that funcname can be found in libSystem using varname without the libc_ prefix.
    			my $basename = substr $funcname, 5;
    			my $libc = "libc.so";
    			if ($darwin) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/runtime/sys_openbsd2.go

    //go:cgo_import_dynamic libc_munmap munmap "libc.so"
    //go:cgo_import_dynamic libc_madvise madvise "libc.so"
    
    //go:cgo_import_dynamic libc_open open "libc.so"
    //go:cgo_import_dynamic libc_close close "libc.so"
    //go:cgo_import_dynamic libc_read read "libc.so"
    //go:cgo_import_dynamic libc_write write "libc.so"
    //go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so"
    
    //go:cgo_import_dynamic libc_clock_gettime clock_gettime "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/sys_darwin.go

    	}
    	return libcCall(unsafe.Pointer(abi.FuncPCABI0(proc_regionfilename_trampoline)), unsafe.Pointer(&args))
    }
    func proc_regionfilename_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 "/usr/lib/libSystem.B.dylib"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/x86/asm6.go

    // what that bug is. And this does fix it.
    func useAbs(ctxt *obj.Link, s *obj.LSym) bool {
    	if ctxt.Headtype == objabi.Hsolaris {
    		// All the Solaris dynamic imports from libc.so begin with "libc_".
    		return strings.HasPrefix(s.Name, "libc_")
    	}
    	return ctxt.Arch.Family == sys.I386 && !ctxt.Flag_shared
    }
    
    // single-instruction no-ops of various lengths.
    // constructed by hand and disassembled with gdb to verify.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  7. src/runtime/sys_libc.go

    		// first call on an M, until that libcCall instance
    		// returns.  Reentrance only matters for signals, as
    		// libc never calls back into Go.  The tricky case is
    		// where we call libcX from an M and record g/pc/sp.
    		// Before that call returns, a signal arrives on the
    		// same M and the signal handling code calls another
    		// libc function.  We don't want that second libcCall
    		// from within the handler to be recorded, and we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go

    //go:cgo_import_dynamic libc_munlock munlock "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Munlockall() (err error) {
    	_, _, e1 := syscall_syscall(libc_munlockall_trampoline_addr, 0, 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    var libc_munlockall_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_munlockall munlockall "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go

    //go:cgo_import_dynamic libc_munlock munlock "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Munlockall() (err error) {
    	_, _, e1 := syscall_syscall(libc_munlockall_trampoline_addr, 0, 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    var libc_munlockall_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_munlockall munlockall "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go

    //go:cgo_import_dynamic libc_fsync_range fsync_range "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_acct acct "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_chdir chdir "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_chroot chroot "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_close close "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_dup dup "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_exit exit "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 42.4K bytes
    - Viewed (0)
Back to top