Using getusershell() function in C++

From: System Administrator <sysadmin_at_sba.miami.edu>
Date: Sun, 29 Dec 1996 00:52:53 -0500 (EST)

Hi,
         I am writing a program in DEC C++ that needs to scan the
user shells file (/etc/shells). There is a function available,
getusershell() that can do that. However this function is defined in
standard C library and C++ does not link it in. Is there any way to use C
objects in DEC C++? Is this function defined somewhere else so it can be
used with C++?.

The only thing I can do now is write my own getusershell()...

Thanks.

=+=------------------------/\---------------------------------------=+=
       Igor Natanzon |/\| E-mail: sysadmin_at_homer.bus.miami.edu
    System Administrator |/\| igor_at_cs.cs.miami.edu
                            |--|
    University of Miami |\/| Office Phone: 284-1771
     School of Business |\/|
=+=------------------------\/---------------------------------------=+=
Received on Sun Dec 29 1996 - 07:05:54 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT