Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for signalNameMap (0.1 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_unix.go

    // The signal name should start with "SIG".
    func SignalNum(s string) syscall.Signal {
    	signalNameMapOnce.Do(func() {
    		signalNameMap = make(map[string]syscall.Signal, len(signalList))
    		for _, signal := range signalList {
    			signalNameMap[signal.name] = signal.num
    		}
    	})
    	return signalNameMap[s]
    }
    
    // clen returns the index of the first NULL byte in n or len(n) if n contains no NULL byte.
    func clen(n []byte) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 16.5K bytes
    - Viewed (0)
Back to top