From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d57e75dfdf089a4a,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-01-29 01:41:21 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!Germany.EU.net!news.dfn.de!gwdu03.gwdg.de!mbinder From: mbinder@gwdu03.gwdg.de (Michael Binder) Subject: how to get the tty-path Message-ID: Organization: GWDG, Goettingen Date: Fri, 28 Jan 1994 11:36:12 GMT 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