Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for syscall6 (0.13 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    func RegCloseKey(key Handle) (regerrno error) {
    	r0, _, _ := syscall.Syscall(procRegCloseKey.Addr(), 1, uintptr(key), 0, 0)
    	if r0 != 0 {
    		regerrno = syscall.Errno(r0)
    	}
    	return
    }
    
    func RegEnumKeyEx(key Handle, index uint32, name *uint16, nameLen *uint32, reserved *uint32, class *uint16, classLen *uint32, lastWriteTime *Filetime) (regerrno error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  2. src/os/pidfd_linux.go

    //  v5.1: pidfd_send_signal syscall;
    //  v5.2: CLONE_PIDFD flag for clone syscall;
    //  v5.3: pidfd_open syscall, clone3 syscall;
    //  v5.4: P_PIDFD idtype support for waitid syscall;
    //  v5.6: pidfd_getfd syscall.
    
    package os
    
    import (
    	"errors"
    	"internal/syscall/unix"
    	"sync"
    	"syscall"
    	"unsafe"
    )
    
    func ensurePidfd(sysAttr *syscall.SysProcAttr) *syscall.SysProcAttr {
    	if !pidfdWorks() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/os/exec_windows.go

    	switch status {
    	case statusDone:
    		return ErrProcessDone
    	case statusReleased:
    		return syscall.EINVAL
    	}
    	defer p.handleTransientRelease()
    
    	if sig == Kill {
    		var terminationHandle syscall.Handle
    		e := syscall.DuplicateHandle(^syscall.Handle(0), syscall.Handle(handle), ^syscall.Handle(0), &terminationHandle, syscall.PROCESS_TERMINATE, false, 0)
    		if e != nil {
    			return NewSyscallError("DuplicateHandle", e)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.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: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. src/os/user/cgo_lookup_unix.go

    	var grp _C_struct_group
    	var found bool
    
    	err := retryWithBuffer(groupBuffer, func(buf []byte) syscall.Errno {
    		var errno syscall.Errno
    		grp, found, errno = _C_getgrgid_r(_C_gid_t(gid),
    			(*_C_char)(unsafe.Pointer(&buf[0])), _C_size_t(len(buf)))
    		return syscall.Errno(errno)
    	})
    	if err == syscall.ENOENT || (err == nil && !found) {
    		return nil, UnknownGroupIdError(strconv.Itoa(gid))
    	}
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/os/pidfd_other.go

    //go:build (unix && !linux) || (js && wasm) || wasip1 || windows
    
    package os
    
    import "syscall"
    
    func ensurePidfd(sysAttr *syscall.SysProcAttr) *syscall.SysProcAttr {
    	return sysAttr
    }
    
    func getPidfd(_ *syscall.SysProcAttr) (uintptr, bool) {
    	return 0, false
    }
    
    func pidfdFind(_ int) (uintptr, error) {
    	return 0, syscall.ENOSYS
    }
    
    func (p *Process) pidfdRelease() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 692 bytes
    - Viewed (0)
  7. src/os/exec_unix.go

    		// active call to the signal method to complete.
    		p.sigMu.Lock()
    		p.sigMu.Unlock()
    	}
    
    	var (
    		status syscall.WaitStatus
    		rusage syscall.Rusage
    		pid1   int
    		e      error
    	)
    	for {
    		pid1, e = syscall.Wait4(p.Pid, &status, 0, &rusage)
    		if e != syscall.EINTR {
    			break
    		}
    	}
    	if e != nil {
    		return nil, NewSyscallError("wait", e)
    	}
    	p.pidDeactivate(statusDone)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/os/exec_plan9.go

    package os
    
    import (
    	"internal/itoa"
    	"runtime"
    	"syscall"
    	"time"
    )
    
    // The only signal values guaranteed to be present in the os package
    // on all systems are Interrupt (send the process an interrupt) and
    // Kill (force the process to exit). Interrupt is not implemented on
    // Windows; using it with [os.Process.Signal] will return an error.
    var (
    	Interrupt Signal = syscall.Note("interrupt")
    	Kill      Signal = syscall.Note("kill")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/os/exec_posix.go

    // license that can be found in the LICENSE file.
    
    //go:build unix || (js && wasm) || wasip1 || windows
    
    package os
    
    import (
    	"internal/itoa"
    	"internal/syscall/execenv"
    	"runtime"
    	"syscall"
    )
    
    // The only signal values guaranteed to be present in the os package on all
    // systems are os.Interrupt (send the process an interrupt) and os.Kill (force
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. src/os/removeall_at.go

    	var r int
    	for {
    		var e error
    		r, e = unix.Openat(dirfd, name, O_RDONLY|syscall.O_CLOEXEC|syscall.O_DIRECTORY|syscall.O_NOFOLLOW, 0)
    		if e == nil {
    			break
    		}
    
    		// See comment in openFileNolog.
    		if e == syscall.EINTR {
    			continue
    		}
    
    		return nil, e
    	}
    
    	if !supportsCloseOnExec {
    		syscall.CloseOnExec(r)
    	}
    
    	// We use kindNoPoll because we know that this is a directory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top