Den 14. mars 2014 19:37, skrev Iosif Hamlatzis:
ssize_t chars = readlink("/proc/self/exe",full_path,PATH_MAX);
The usual (portable) way to find the executable name is to use argv[0],
not to read /proc/self/exe. (If it's a relative path, then you may need
to search for it in the PATH o
I have managed to deploy my game on the actual device and now I'm trying to
debug my code in order to find out why it crashes when starting the game.
At some point I try to get the full path of my game by using the code below:
// find fullpath
char full_path[PATH_MAX];
memset ( &(f