Did you try <unistd.h> ? Note the "h" not "g" at end, and no leading "linux/"
On Wednesday, April 1, 2020 at 9:58:45 AM UTC-7, Dave McLaughlin wrote: > > I am trying to track down a file not found error in a Realtek WiFi driver > and I am trying to get the current working directory and print this to the > debug output. > > I can't find which header file getcwd() is located in. Most website > searches indicate to use <linux/unistd.g> but this doesn't work and I get a > compiler error when I try to use getcwd() > > A search of the Linux source finds many references to this function. > > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-porting/1dec0b6b-e9a9-4f6e-8221-0514b339e534%40googlegroups.com.