Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 267 for syscalls (0.12 sec)

  1. src/syscall/zsyscall_openbsd_ppc64.go

    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go

    	SIGCONT   = syscall.Signal(0x12)
    	SIGIO     = syscall.Signal(0x1d)
    	SIGPOLL   = syscall.Signal(0x1d)
    	SIGPROF   = syscall.Signal(0x1b)
    	SIGPWR    = syscall.Signal(0x1e)
    	SIGSTKFLT = syscall.Signal(0x10)
    	SIGSTOP   = syscall.Signal(0x13)
    	SIGSYS    = syscall.Signal(0x1f)
    	SIGTSTP   = syscall.Signal(0x14)
    	SIGTTIN   = syscall.Signal(0x15)
    	SIGTTOU   = syscall.Signal(0x16)
    	SIGURG    = syscall.Signal(0x17)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go

    	SIGCONT   = syscall.Signal(0x12)
    	SIGIO     = syscall.Signal(0x1d)
    	SIGPOLL   = syscall.Signal(0x1d)
    	SIGPROF   = syscall.Signal(0x1b)
    	SIGPWR    = syscall.Signal(0x1e)
    	SIGSTKFLT = syscall.Signal(0x10)
    	SIGSTOP   = syscall.Signal(0x13)
    	SIGSYS    = syscall.Signal(0x1f)
    	SIGTSTP   = syscall.Signal(0x14)
    	SIGTTIN   = syscall.Signal(0x15)
    	SIGTTOU   = syscall.Signal(0x16)
    	SIGURG    = syscall.Signal(0x17)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  4. src/net/iprawsock_posix.go

    // license that can be found in the LICENSE file.
    
    //go:build unix || js || wasip1 || windows
    
    package net
    
    import (
    	"context"
    	"syscall"
    )
    
    func sockaddrToIP(sa syscall.Sockaddr) Addr {
    	switch sa := sa.(type) {
    	case *syscall.SockaddrInet4:
    		return &IPAddr{IP: sa.Addr[0:]}
    	case *syscall.SockaddrInet6:
    		return &IPAddr{IP: sa.Addr[0:], Zone: zoneCache.name(int(sa.ZoneId))}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/internal/poll/sendfile_windows.go

    package poll
    
    import (
    	"io"
    	"syscall"
    )
    
    // SendFile wraps the TransmitFile call.
    func SendFile(fd *FD, src syscall.Handle, n int64) (written int64, err error) {
    	defer func() {
    		TestHookDidSendFile(fd, 0, written, err, written > 0)
    	}()
    	if fd.kind == kindPipe {
    		// TransmitFile does not work with pipes
    		return 0, syscall.ESPIPE
    	}
    	if ft, _ := syscall.GetFileType(src); ft == syscall.FILE_TYPE_PIPE {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/net/net_fake.go

    	if raddr != nil && ctrlCtxFn != nil {
    		return nil, os.NewSyscallError("socket", syscall.ENOTSUP)
    	}
    	switch sotype {
    	case syscall.SOCK_STREAM, syscall.SOCK_SEQPACKET, syscall.SOCK_DGRAM:
    	default:
    		return nil, os.NewSyscallError("socket", syscall.ENOTSUP)
    	}
    
    	fd := &netFD{
    		family: family,
    		sotype: sotype,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. src/os/file_plan9.go

    const DevNull = "/dev/null"
    
    // syscallMode returns the syscall-specific mode bits from Go's portable mode bits.
    func syscallMode(i FileMode) (o uint32) {
    	o |= uint32(i.Perm())
    	if i&ModeAppend != 0 {
    		o |= syscall.DMAPPEND
    	}
    	if i&ModeExclusive != 0 {
    		o |= syscall.DMEXCL
    	}
    	if i&ModeTemporary != 0 {
    		o |= syscall.DMTMP
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. src/internal/syscall/windows/version_windows.go

    		supportTCPKeepAliveCount = major >= 10 && build >= 15063
    		return
    	}
    	defer syscall.Closesocket(s)
    	var optSupported = func(opt int) bool {
    		err := syscall.SetsockoptInt(s, syscall.IPPROTO_TCP, opt, 1)
    		return !errors.Is(err, syscall.WSAENOPROTOOPT)
    	}
    	supportTCPKeepAliveIdle = optSupported(TCP_KEEPIDLE)
    	supportTCPKeepAliveInterval = optSupported(TCP_KEEPINTVL)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/syscall/exec_unix_test.go

    	}
    
    	defer func() {
    		signal.Ignore(syscall.SIGTTIN, syscall.SIGTTOU)
    		syscall.Tcsetpgrp(ttyFD, fpgrp)
    		signal.Reset()
    	}()
    
    	ch1 := make(chan os.Signal, 1)
    	ch2 := make(chan bool)
    
    	signal.Notify(ch1, syscall.SIGTTIN, syscall.SIGTTOU)
    	defer signal.Stop(ch1)
    
    	cmd := create(t)
    
    	go func() {
    		cmd.proc.SysProcAttr = &syscall.SysProcAttr{
    			Ctty:       ttyFD,
    			Foreground: true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprog/syscalls_linux.go

    	"fmt"
    	"internal/testenv"
    	"io"
    	"os"
    	"syscall"
    )
    
    func gettid() int {
    	return syscall.Gettid()
    }
    
    func tidExists(tid int) (exists, supported bool, err error) {
    	// Open the magic proc status file for reading with the syscall package.
    	// We want to identify certain valid errors very precisely.
    	statusFile := fmt.Sprintf("/proc/self/task/%d/status", tid)
    	fd, err := syscall.Open(statusFile, syscall.O_RDONLY, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top