On Tue, 28 Apr 2020 10:52:39 -0700, maxmike writes:
>gcctest.c:15:3: warning: implicit declaration of function ‘close’; did you 
>mean ‘pclose’? [-Wimplicit-function-declaration]
...
>For this source:
>
>#include <stdio.h>
>#include <stdlib.h>
>#include <sys/mman.h>
>#include <sys/stat.h>
>#include <fcntl.h>
...

close is declared in unistd.h, which you didn't include.
man 2 close.

regards
az


-- 
Best Regards,
Alexander Zangerl
IT Engineer

BREATHE-SAFE intelligent cabin air filtration
Keeps your lungs and cabin dust free!
Head Office: 37-43 Argon Street, Carole Park QLD 4300 Australia
Western Australia: 169 Chisholm Crescent, Kewdale WA 6105 
Tel: +61 7 3276 7833 M. +61 415 482 341 E. [email protected]

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/10592-1588108271.889179%404pmL.RfUb.li5A.

Reply via email to