You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to andro...@googlegroups.com
Hi,
Calling ‘getcwd(char *, int)’ from a shared
library is returning NULL. The shared library is getting loaded from an Android
app started from Launcher.
Is this expected? If not, what should be the correct return
value?
Thanks.
-romil
fadden
unread,
Mar 27, 2009, 4:32:18 PM3/27/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-ndk
On Mar 27, 4:00 am, Romil Mittal <ro...@adobe.com> wrote:
> Calling 'getcwd(char *, int)' from a shared library is returning NULL. The shared library is getting loaded from an Android app started from Launcher.
>
> Is this expected? If not, what should be the correct return value?
What value are you using for the second argument?
What is errno set to when the function returns?
Divij Kumar
unread,
Apr 2, 2009, 4:25:06 AM4/2/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to andro...@googlegroups.com
I tried it in a native program and am able to get the correct working directory. Something like the following works for me.