Hello,
I am trying to run a sample program which uses
readlink("/proc/self/exefile",buf.PATH_MAX). It returns -1.
I am using QNX 6.6.0 32-bit.
Doing ls to /proc/self/exefile displays:-
-rw------- 1 root 0 14 Mar 09 06:32 /proc/self/exefile
I tried changing the permission using chmod.