How can I use fopen() and write a file to disk? When I run the function
below:

    void file_pass()
   {
       printf("File pass\n");
    
       char buffer[] = {'s', 'a', 'm'};
    
       FILE* f = fopen("temp","w");
       fwrite(buffer, 1, 3, f);
       fclose(f);
   }

I get the error:

        no plugin found for open("temp", int)


Can anyone offer some advice?

I am using L4Pistachio as my base.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to