btod(D3X)btod(D3X)NAMEbtod - convert from bytes to disk sectors
SYNOPSIS
#include "sys/types.h"
#include "sys/param.h"
#include "sys/immu.h"
btod(int num_bytes);
DESCRIPTIONbtod is a macro that converts from a byte count to a disk sector count,
where a disk sector is defined as 512 bytes. The btod macro rounds the
byte count up to a full sector size before conversion.
Page 1