Forum Discussion
Altera_Forum
Honored Contributor
16 years agofail to create output file - simple io problem
Any idea what is wrong with the code below? The code failed to create the sample.txt file. Runtime error. #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> ...
Altera_Forum
Honored Contributor
16 years agoOh. I figured that i will use the zip file system and program it to the flash. To open the file for reading i will use;
fopen("/mnt/rozipfs/sample.txt","r"); and to write to the sample.txt file i will use something like alt_write_flash_block ... I am trying this out. Not sure if it will work.