As you all know on some System 5 machines like Soalris 2.*, there is no
such a library function. A easy fix could be
An easier method would be to link in the nsl library in by including on the
link line:
-lnsl
no source modifications needed that way. Out of habit, I usually just use
this with the socket library:
-lsocket -lnsl
since all programs making socket calls (like X11 programs) need both.
-philip
____________________________________________________________ Philip Kizer ___
Texas A&M CIS Operating Systems Group, Unix ( 409.862.4120 )
pckizer(_at_)tamu(_dot_)edu
"Relying on the government to protect your privacy is like asking a peeping
tom to install your window blinds." -John Perry Barlow, EFF co-founder