From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076343421874.tru64-unix-managers.marc@archive.invalid> From: System Administrator Date: Mon, 30 Dec 1996 15:20:10 +0000 To: tru64-unix-managers Subject: SUMMARY: Using getusershell() function in C++ X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076343421874 Few days ago I asked a question about being able to use getusershell() function from standard C library in C++. Thanks to Paul A Sand , "Daniel S. Riley" "Robert L. McMillin" and Ray Bellis . The answer is simple. Since the function getusershell() was not declared anywhere, I needed to put extern "C" { getusershell();} to get C++ to recognize the function... =+=------------------------/\---------------------------------------=+= Igor Natanzon |/\| E-mail: sysadmin@homer.bus.miami.edu System Administrator |/\| igor@cs.cs.miami.edu |--| University of Miami |\/| Office Phone: 284-1771 School of Business |\/| =+=------------------------\/---------------------------------------=+=