Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for statusBuf (0.19 sec)

  1. src/net/interface_plan9.go

    	}
    
    	var addrs []Addr
    	for _, ifc := range ifcs {
    		status := ifc.Name + "/status"
    		statusf, err := open(status)
    		if err != nil {
    			return nil, err
    		}
    		defer statusf.close()
    
    		// Read but ignore first line as it only contains the table header.
    		// See https://9p.io/magic/man2html/3/ip
    		if _, ok := statusf.readLine(); !ok {
    			return nil, errors.New("cannot read header line for interface: " + status)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top