title: C - fopen text file after building - OpenWRT - opkg
body: <p>I have these lines in my C program:</p>
  
  <pre><code>int main(int argc, char **argv) {    
    int i=0, p=0;
  
    FILE* fp;
    fp = fopen("jacina.txt", "w+");
    fscanf (fp, "%d", &amp;i);
  
    if (ftruncate(fp, 0) == -1) {
      perror("Could not truncate")
    };
  
    p = i+10;
    fprintf(fp, "%d", p);
  }
  </code></pre>
  
  <p>After building this code to OPKG in OpenWRT (from Ubuntu), how can I read and write to this textual file which is located on any disk location where is located this OPKG?</p>