Hi All,

Does any Hildon or gtk API supports writing into text files my following
code written in C is not
working for N800 which works perfectly fine under MAEMO ARMEL
mode.........Please if some
one has some information let me know...

Regards,
Nisha

---------- Forwarded message ----------
From: nisha jain <[EMAIL PROTECTED]>
Date: Jul 5, 2008 4:09 PM
Subject: Re: Wrting to a text file in N800 /media/mmc1
To: [EMAIL PROTECTED]
Cc: gary liquid <[EMAIL PROTECTED]>

Hi All,

I just checked in N800 the following program for writing into a file which

doesn't work.... Any clues what is going wrong? I neither get any error not
it is

creating a file and writing into it.........

#include<stdio.h>

void main()
{
    FILE *Gfile;
    if ((Gfile = fopen("/media/mmc1/test.txt", "w+")) == NULL)
    {
        printf("Error in file creation");
    }

    if(Gfile)
    fprintf(Gfile,"%02x",0x10);
    fclose(Gfile);
}

Regards,
Nisha
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to