Q: How can you tell which library contains a certain UNIX function? I need to know in order to include that library on the LIBS = line of my makefile (or, preferably, on the OTHER_LIBS line of my Makefile.preamble).
A: This information can be found in the intro(3) man page. You can access this man page by typing the following in a shell:
man 3 intro
QA124
Valid for 1.0, 2.0, 3.0