22
Netra CP3010 Board Programming Guide
• January
2006
}
printf ("\nuser data buffer:\n");
for (i = 0; i < size; i++) {
printf("%2x ", r_buf[i] & 0xff);
}
printf("\n");
default:
continue;
}
}
/* exit */
getout:
close(fd0);
return;
} /* end of main() */
CODE
EXAMPLE
2-6
Flash Application Program
(Continued)