Rockbox Development > Starting Development and Compiling

can i read file from my plugin??

(1/3) > >>

restart:
i want to read file (such as .txt or .xml), how can i read it?? where i put the files in rockbox??

thank's for your help
regards all

bluebrother:
use the standard open() / read() functions.

restart:

--- Quote from: bluebrother on June 15, 2008, 09:03:19 AM ---use the standard open() / read() functions.

--- End quote ---

where i must put my .txt file in rockbox??

GodEater:
Anywhere you like.

restart:

--- Quote from: bluebrother on June 15, 2008, 09:03:19 AM ---use the standard open() / read() functions.

--- End quote ---

i've got errors in using open() and read () functions.


--- Code: ---VirtualGuide.c:(.text+0x90): undefined reference to `open'
VirtualGuide.c:(.text+0x98): undefined reference to `strcpy'
VirtualGuide.c:(.text+0x9c): undefined reference to `read'

--- End code ---

can you help me??

Navigation

[0] Message Index

[#] Next page

Go to full version