Hello.
I used mangoh green with wp8540.
i connect to green whith ssh and creat file “/home/root/tt”
I creat project in legato.
and i want read this file. But i not open him.
my code:
COMPONENT_INIT
{
LE_INFO(“Hello, world.”);
FILE* fd;
fd = fopen ("/home/root/tt", "r");
if (fd == 0) {
LE_INFO ("ERR OPEN\n");
return;
}
}
What is problem?
How to fix it?