Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,083 for wait4 (0.11 sec)

  1. src/syscall/syscall_js.go

    	return 0, ENOSYS
    }
    func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error) {
    	return 0, 0, ENOSYS
    }
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	return 0, ENOSYS
    }
    
    type Iovec struct{} // dummy
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/os/signal/signal_cgo_test.go

    		}
    
    		// Wait for stop.
    		var status syscall.WaitStatus
    		for {
    			_, err = syscall.Wait4(cmd.Process.Pid, &status, syscall.WUNTRACED, nil)
    			if err != syscall.EINTR {
    				break
    			}
    		}
    		if err != nil {
    			return fmt.Errorf("error waiting for stop: %w", err)
    		}
    
    		if !status.Stopped() {
    			return fmt.Errorf("unexpected wait status: %v", status)
    		}
    
    		// Take TTY.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/syscall/syscall_wasip1.go

    	return 0, ENOSYS
    }
    
    func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error) {
    	return 0, 0, ENOSYS
    }
    
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	return 0, ENOSYS
    }
    
    func Umask(mask int) int {
    	return 0
    }
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    	}
    	return syscall.Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    //sys	wait4(pid int32, statusp *_C_int, options int, rusage *Rusage) (wpid int32, err error)
    
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (int, error) {
    	var status _C_int
    	rpid, err := wait4(int32(pid), &status, options, rusage)
    	wpid := int(rpid)
    	if wpid == -1 {
    		return wpid, 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/cmd/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go

    	SYS_OPEN  = 5 // { int open(char *path, int flags, int mode); }
    	SYS_CLOSE = 6 // { int close(int fd); }
    	SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); } wait4 wait_args int
    	// SYS_NOSYS = 8;  // { int nosys(void); } __nosys nosys_args int
    	SYS_LINK                   = 9   // { int link(char *path, char *link); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux.go

    	if w.StopSignal() != SIGTRAP {
    		return -1
    	}
    	return int(w>>shift) >> 8
    }
    
    //sys	wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error)
    
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	var status _C_int
    	wpid, err = wait4(pid, &status, options, rusage)
    	if wstatus != nil {
    		*wstatus = WaitStatus(status)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  7. src/syscall/zsysnum_freebsd_amd64.go

    	SYS_OPEN                     = 5   // { int open(char *path, int flags, int mode); }
    	SYS_CLOSE                    = 6   // { int close(int fd); }
    	SYS_WAIT4                    = 7   // { int wait4(int pid, int *status, \
    	SYS_LINK                     = 9   // { int link(char *path, char *link); }
    	SYS_UNLINK                   = 10  // { int unlink(char *path); }
    	SYS_CHDIR                    = 12  // { int chdir(char *path); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go

    	n = int(r0)
    	if r0 == -1 && er != nil {
    		err = er
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func wait4(pid Pid_t, status *_C_int, options int, rusage *Rusage) (wpid Pid_t, err error) {
    	r0, er := C.wait4(C.int(pid), C.uintptr_t(uintptr(unsafe.Pointer(status))), C.int(options), C.uintptr_t(uintptr(unsafe.Pointer(rusage))))
    	wpid = Pid_t(r0)
    	if r0 == -1 && er != nil {
    		err = er
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_freebsd_386.go

    	SYS_OPEN                     = 5   // { int open(char *path, int flags, int mode); }
    	SYS_CLOSE                    = 6   // { int close(int fd); }
    	SYS_WAIT4                    = 7   // { int wait4(int pid, int *status, \
    	SYS_LINK                     = 9   // { int link(char *path, char *link); }
    	SYS_UNLINK                   = 10  // { int unlink(char *path); }
    	SYS_CHDIR                    = 12  // { int chdir(char *path); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_freebsd_arm.go

    	SYS_OPEN                     = 5   // { int open(char *path, int flags, int mode); }
    	SYS_CLOSE                    = 6   // { int close(int fd); }
    	SYS_WAIT4                    = 7   // { int wait4(int pid, int *status, \
    	SYS_LINK                     = 9   // { int link(char *path, char *link); }
    	SYS_UNLINK                   = 10  // { int unlink(char *path); }
    	SYS_CHDIR                    = 12  // { int chdir(char *path); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
Back to top