Sun Microsystems CP2500 Computer Hardware User Manual


 
58 Netra CP2500 Board Programming Guide March 2007
}
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 3-6 Sample User Flash Application Program (Continued)