| Main index | Section 3 | 日本語 | Options |
#include <stdlib.h>
Valid values of BLOCKSIZE are 512 bytes to 1 gigabyte. Sizes less than 512 bytes are rounded up to 512 bytes, and sizes greater than 1 GB are rounded down to 1 GB. In each case getbsize() produces a warning message via warnx(3).
The getbsize() function returns a pointer to a null-terminated string describing the block size, something like "1K-blocks". The memory referenced by headerlenp is filled in with the length of the string (not including the terminating null). The memory referenced by blocksizep is filled in with block size, in bytes.
| GETBSIZE (3) | June 11, 2017 |
| Main index | Section 3 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
