Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* how to get the tty-path
@ 1994-01-28 11:36 Michael Binder
  0 siblings, 0 replies; only message in thread
From: Michael Binder @ 1994-01-28 11:36 UTC (permalink / raw)


I'm working on a DEC Alpha under OSF1 V1.3

I used the "table(TBL_PROCINFO ..."-call to get informations about
all processes out of the Kernel. One member of the procinfo struct 
defined in table.h is

           int ttyd; /* contolling display terminal */

And this is what I would like to know:

How can I convert this integer into the tty-path like /dev/ttyp2
for instance?

can anybode help me?

Michael



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

only message in thread, other threads:[~1994-01-28 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-01-28 11:36 how to get the tty-path Michael Binder

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