Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 537 for libc (0.04 sec)

  1. src/net/dnsclient_unix.go

    		// but that is a detail of the specific lookup mechanism.
    		// Other lookups might allow broader name syntax
    		// (for example Multicast DNS allows UTF-8; see RFC 6762).
    		// For consistency with libc resolvers, report no such host.
    		return dnsmessage.Parser{}, "", newDNSError(errNoSuchHost, name, "")
    	}
    
    	if conf == nil {
    		conf = getSystemDNSConfig()
    	}
    
    	var (
    		p      dnsmessage.Parser
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. src/runtime/os_darwin.go

    			fn = abi.FuncPCABI0(cgoSigtramp)
    		} else {
    			fn = abi.FuncPCABI0(sigtramp)
    		}
    	}
    	*(*uintptr)(unsafe.Pointer(&sa.__sigaction_u)) = fn
    	sigaction(i, &sa, nil)
    }
    
    // sigtramp is the callback from libc when a signal is received.
    // It is called with the C calling convention.
    func sigtramp()
    func cgoSigtramp()
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsigstack(i uint32) {
    	var osa usigactiont
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. src/runtime/os_freebsd.go

    // From FreeBSD's <sys/sysctl.h>
    const (
    	_CTL_HW      = 6
    	_HW_PAGESIZE = 7
    )
    
    var sigset_all = sigset{[4]uint32{^uint32(0), ^uint32(0), ^uint32(0), ^uint32(0)}}
    
    // Undocumented numbers from FreeBSD's lib/libc/gen/sysctlnametomib.c.
    const (
    	_CTL_QUERY     = 0
    	_CTL_QUERY_MIB = 3
    )
    
    // sysctlnametomib fill mib with dynamically assigned sysctl entries of name,
    // return count of effected mib slots, return 0 on error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    	return uint32(__minor(NEWDEV, dev))
    }
    
    /*
     * Expose the ioctl function
     */
    
    //sys	ioctlRet(fd int, req int, arg uintptr) (ret int, err error) = libc.ioctl
    //sys	ioctlPtrRet(fd int, req int, arg unsafe.Pointer) (ret int, err error) = libc.ioctl
    
    func ioctl(fd int, req int, arg uintptr) (err error) {
    	_, err = ioctlRet(fd, req, arg)
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  5. src/net/cgo_unix.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file is called cgo_unix.go, but to allow syscalls-to-libc-based
    // implementations to share the code, it does not use cgo directly.
    // Instead of C.foo it uses _C_foo, which is defined in either
    // cgo_unix_cgo.go or cgo_unix_syscall.go
    
    //go:build !netgo && ((cgo && unix) || darwin)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. src/runtime/crash_test.go

    		}
    	}
    }
    
    func TestTimePprof(t *testing.T) {
    	// This test is unreliable on any system in which nanotime
    	// calls into libc.
    	switch runtime.GOOS {
    	case "aix", "darwin", "illumos", "openbsd", "solaris":
    		t.Skipf("skipping on %s because nanotime calls libc", runtime.GOOS)
    	}
    
    	// Pass GOTRACEBACK for issue #41120 to try to get more
    	// information on timeout.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go

    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build arm && openbsd
    
    package unix
    
    // Deprecated: Use libc wrappers instead of direct syscalls.
    const (
    	SYS_EXIT           = 1   // { void sys_exit(int rval); }
    	SYS_FORK           = 2   // { int sys_fork(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go

    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build mips64 && openbsd
    
    package unix
    
    // Deprecated: Use libc wrappers instead of direct syscalls.
    const (
    	SYS_EXIT           = 1   // { void sys_exit(int rval); }
    	SYS_FORK           = 2   // { int sys_fork(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm64.go

    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build arm64 && openbsd
    
    package unix
    
    // Deprecated: Use libc wrappers instead of direct syscalls.
    const (
    	SYS_EXIT           = 1   // { void sys_exit(int rval); }
    	SYS_FORK           = 2   // { int sys_fork(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go

    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build riscv64 && openbsd
    
    package unix
    
    // Deprecated: Use libc wrappers instead of direct syscalls.
    const (
    	SYS_EXIT           = 1   // { void sys_exit(int rval); }
    	SYS_FORK           = 2   // { int sys_fork(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.8K bytes
    - Viewed (0)
Back to top