comp.lang.ada
 help / color / mirror / Atom feed
From: shochat@roosevelt.logicon.com (David Shochat)
Subject: Getting a list of logged-in users
Date: 1996/05/03
Date: 1996-05-03T00:00:00+00:00	[thread overview]
Message-ID: <wgcloj9l5jk.fsf@roosevelt.logicon.com> (raw)


Is there any operation in POSIX for getting a list of logged-in users
on the current host? It looks to me like I could do this by repeatedly
calling getutent() (described in utmp.h), which I could write a simple
Ada binding to. I'm trying to use Forest for this sort of thing, but I
couldn't find anything there with this functionality. If there's
something in some part of POSIX but not Forest, I'd like if possible
to do the binding in as POSIX-compatible a way as possible. We're
using gnat 3.03 on Solaris 2.3.  
-- David Shochat
-- 
David Shochat
dshochat@logicon.com  shochat@roosevelt.logicon.com




                 reply	other threads:[~1996-05-03  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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