FreeBSD/sys/geom/part/g_part_ldm.c
/* Just skip the variable-width variable and return new offset */
Just skip the variable-width variable and return new offset
Just skip the variable - width variable and return new offset
static int
ldm_vparm_skip(const u_char *buf, int offset, size_t range)
{
	uint8_t len;
	len = buf[offset++];
	if (offset + len >= range)
		return (-1);
	return (offset + len);
}
static int ldm_vparm_skip ( const u_char * buf , int offset , size_t range ) { uint8_t len ; len = buf [ offset ++ ] ; if ( offset + len >= range ) return ( -1 ) ; return ( offset + len ) ; }
Just skip the variable-width variable and return new offset
Just skip the variable - width variable and return new offset