std libraries of C for macbook

Understand that we should be using the standard Libraries related to the Mac os while compiling the C programs in Mac Terminal- where could I find the list of these libraries specific to mac - for instance <conio.h> can be used and Stdlib.h should be used !! - Such details are required - is there a reliable source where I can check this ?


Thanks.

MacBook Pro 15″, macOS 11.2

Posted on Mar 21, 2021 12:10 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 21, 2021 9:02 AM

Try

/usr/bin/apropos 3 .


You can use

man function_name

to get usage information. If man does not find it, then it is not available on the Mac.


So if you know of a function you want to use, you can just use man to verify it is available.

Similar questions

2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

std libraries of C for macbook

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.