tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: System Administrator <sysadmin () sba ! miami ! edu>
To: tru64-unix-managers
Subject: Using getusershell() function in C++
Date: Sun, 29 Dec 1996 05:52:53 +0000	[thread overview]
Message-ID: <96076343421865.tru64-unix-managers.marc@archive.invalid> (raw)

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@homer.bus.miami.edu
    System Administrator  |/\|            igor@cs.cs.miami.edu
  			  |--| 
    University of  Miami  |\/|           Office Phone: 284-1771  
     School of Business   |\/| 
=+=------------------------\/---------------------------------------=+=

                 reply	other threads:[~1996-12-29  5:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox