Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for libc_ (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/syscall/zsyscall_openbsd_arm.go

    //go:cgo_import_dynamic libc_chroot chroot "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Close(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_close_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_close_trampoline()
    
    //go:cgo_import_dynamic libc_close close "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  6. src/internal/syscall/unix/at_solaris.go

    func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    //go:cgo_import_dynamic libc_fstatat fstatat "libc.so"
    //go:cgo_import_dynamic libc_openat openat "libc.so"
    //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
    //go:cgo_import_dynamic libc_uname uname "libc.so"
    
    const (
    	AT_REMOVEDIR        = 0x1
    	AT_SYMLINK_NOFOLLOW = 0x1000
    
    	UTIME_OMIT = -0x2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 814 bytes
    - Viewed (0)
  7. src/runtime/os3_solaris.go

    //go:cgo_import_dynamic libc_pthread_create pthread_create "libc.so"
    //go:cgo_import_dynamic libc_pthread_self pthread_self "libc.so"
    //go:cgo_import_dynamic libc_pthread_kill pthread_kill "libc.so"
    //go:cgo_import_dynamic libc_raise raise "libc.so"
    //go:cgo_import_dynamic libc_read read "libc.so"
    //go:cgo_import_dynamic libc_select select "libc.so"
    //go:cgo_import_dynamic libc_sched_yield sched_yield "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_amd64.go

    //go:cgo_import_dynamic libc_chroot chroot "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Close(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_close_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_close_trampoline()
    
    //go:cgo_import_dynamic libc_close close "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_arm64.go

    //go:cgo_import_dynamic libc_chroot chroot "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Close(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_close_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_close_trampoline()
    
    //go:cgo_import_dynamic libc_close close "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_ppc64.go

    //go:cgo_import_dynamic libc_chroot chroot "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Close(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_close_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_close_trampoline()
    
    //go:cgo_import_dynamic libc_close close "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
Back to top