btod(D3X)
btod - convert from bytes to disk sectors
As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.
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.