The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 10-25-2008
jlliagre jlliagre is online now Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,435
The best way to figure out if a function is available with Solaris is to look for a man page.

Eg:
Code:
man getaddrinfo
If there is one, it will give hints about the library to be used:

Code:
cc [flag ...] file ... -lsocket -lnsl [library ...]