btod(D3X) btod(D3X) NAME btod - convert from bytes to disk sectors SYNOPSIS #include "sys/types.h" #include "sys/param.h" #include "sys/immu.h" btod(int num_bytes); DESCRIPTION btod 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[top]
Vote for polarhome |