tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Using getusershell() function in C++
@ 1996-12-29  5:52 System Administrator
  0 siblings, 0 replies; only message in thread
From: System Administrator @ 1996-12-29  5:52 UTC (permalink / raw)
  To: tru64-unix-managers

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   |\/| 
=+=------------------------\/---------------------------------------=+=

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-12-29  5:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-29  5:52 Using getusershell() function in C++ System Administrator

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