INIT_BUFFER_SIZE
command = ibmasm_new_command(sp, INIT_BUFFER_SIZE);
char buffer[INIT_BUFFER_SIZE];
for (index = INIT_BUFFER_SIZE; index < size; index += INIT_BUFFER_SIZE) {
if (write(fd, buffer, INIT_BUFFER_SIZE) != INIT_BUFFER_SIZE) {
index -= INIT_BUFFER_SIZE;
char buffer[INIT_BUFFER_SIZE];
for (index = INIT_BUFFER_SIZE; index < map_size; index += INIT_BUFFER_SIZE)
if (write(fd, buffer, INIT_BUFFER_SIZE) != INIT_BUFFER_SIZE) {
index -= INIT_BUFFER_SIZE;