func (m Mntinfo) Proto() string {
	return CFieldString(m.RProto[:])
}
Proto returns a Mntinfo RProto as a string.
package kstat
type IO struct {
	Nread       uint64
	Nwritten    uint64
	Reads       uint32
	Writes      uint32
	Wtime       int64
	Wlentime    int64
	Wlastupdate int64
	Rtime       int64
	Rlentime    int64
	Rlastupdate int64
	Wcnt        uint32
	Rcnt        uint32
}
type Sysinfo struct {
	Updates uint32
	Runque  uint32
	Runocc  uint32
	Swpque  uint32
	Swpocc  uint32
	Waiting uint32
}
type Vminfo struct {
	Freemem uint64
	Resv    uint64
	Alloc   uint64
	Avail   uint64
	Free    uint64
	Updates uint64
}
type Var struct {
	Buf       int32
	Call      int32
	Proc      int32
	Maxupttl  int32
	Nglobpris int32
	Maxsyspri int32
	Clist     int32
	Maxup     int32
	Hbuf      int32
	Hmask     int32
	Pbuf      int32
	Sptmap    int32
	Maxpmem   int32
	Autoup    int32
	Bufhwm    int32
}
type Mntinfo struct {
	RProto   [128]int8
	Vers     uint32
	Flags    uint32
	Secmod   uint32
	Curread  uint32
	Curwrite uint32
	Timeo    int32
	Retrans  int32
	Acregmin uint32
	Acregmax uint32
	Acdirmin uint32
	Acdirmax uint32
	Timers   [4]struct {
		Srtt    uint32
		Deviate uint32
		Rtxcur  uint32
	}
	Noresponse uint32
	Failover   uint32
	Remap      uint32
	RCurserver [257]int8
	pad0       [3]byte
}
func CFieldString(src []int8) string {
	slen := len(src)
	buf := make([]byte, slen)
	for i := 0; i < len(src); i++ {
		buf[i] = byte(src[i])
		if src[i] == 0 {
			slen = i
			break
		}
	}
	return string(buf[:slen])
}