Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for strsignal (0.33 sec)

  1. src/syscall/mkerrors.sh

    	printf("var signals = [...]string {\n");
    	qsort(signals, nelem(signals), sizeof signals[0], intcmp);
    	for(i=0; i<nelem(signals); i++) {
    		e = signals[i];
    		if(i > 0 && signals[i-1] == e)
    			continue;
    		strcpy(buf, strsignal(e));
    		// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
    		if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
    			buf[0] += a - A;
    		// cut trailing : number.
    		p = strrchr(buf, ":"[0]);
    		if(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    	printf("} {\n");
    	qsort(signals, nelem(signals), sizeof signals[0], tuplecmp);
    	for(i=0; i<nelem(signals); i++) {
    		e = signals[i].num;
    		if(i > 0 && signals[i-1].num == e)
    			continue;
    		strncpy(buf, strsignal(e), sizeof(buf) - 1);
    		buf[sizeof(buf) - 1] = '\0';
    		// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
    		if(A <= buf[0] && buf[0] <= Z && a <= buf[1] && buf[1] <= z)
    			buf[0] += a - A;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  3. src/syscall/syscall_bsd.go

    func (w WaitStatus) Stopped() bool { return w&mask == stopped && Signal(w>>shift) != SIGSTOP }
    
    func (w WaitStatus) Continued() bool { return w&mask == stopped && Signal(w>>shift) == SIGSTOP }
    
    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go

    func (w WaitStatus) Killed() bool { return w&mask == killed && syscall.Signal(w>>shift) != SIGKILL }
    
    func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
    
    func (w WaitStatus) StopSignal() syscall.Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return syscall.Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 15K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go

    		*wstatus = WaitStatus(status)
    	}
    	return
    }
    
    /*
     * Wait
     */
    
    type WaitStatus uint32
    
    func (w WaitStatus) Stopped() bool { return w&0x40 != 0 }
    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>8) & 0xFF
    }
    
    func (w WaitStatus) Exited() bool { return w&0xFF == 0 }
    func (w WaitStatus) ExitStatus() int {
    	if !w.Exited() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. src/syscall/syscall_solaris.go

    func (w WaitStatus) Stopped() bool { return w&mask == stopped && Signal(w>>shift) != SIGSTOP }
    
    func (w WaitStatus) Continued() bool { return w&mask == stopped && Signal(w>>shift) == SIGSTOP }
    
    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. pkg/ctrlz/assets/static/js/prism-1.14.0.min.js

    es.bash.operator,c.punctuation=a.languages.bash.punctuation,a.languages.shell=a.languages.bash}(Prism),Prism.languages.docker={keyword:{pattern:/(^\s*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)/mi,lookbehind:!0},string:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,comment:/#.*/,punctuation:/---|\.\.\.|[:[\]{}\-,|>?]/},Prism.languages.dockerfile=Prism.languages.docker,Prism.languages.go=Prism.languages.exte...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  8. src/syscall/syscall_aix.go

    	Slen   uint8
    	Data   [120]uint8
    	raw    RawSockaddrDatalink
    }
    
    /*
     * Wait
     */
    
    type WaitStatus uint32
    
    func (w WaitStatus) Stopped() bool { return w&0x40 != 0 }
    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>8) & 0xFF
    }
    
    func (w WaitStatus) Exited() bool { return w&0xFF == 0 }
    func (w WaitStatus) ExitStatus() int {
    	if !w.Exited() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux.go

    func (w WaitStatus) Signal() Signal {
    	if !w.Signaled() {
    		return -1
    	}
    	return Signal(w & mask)
    }
    
    func (w WaitStatus) StopSignal() Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int {
    	if w.StopSignal() != SIGTRAP {
    		return -1
    	}
    	return int(w>>shift) >> 8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    func (w WaitStatus) Continued() bool { return w&mask == stopped && syscall.Signal(w>>shift) == SIGSTOP }
    
    func (w WaitStatus) StopSignal() syscall.Signal {
    	if !w.Stopped() {
    		return -1
    	}
    	return syscall.Signal(w>>shift) & 0xFF
    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
Back to top