help-acct
[
Top
][
All Lists
]
Advanced
[Date Prev][Date Next][Thread Prev][Thread Next][
Date Index
][
Thread Index
]
[Help-acct] Obtaining the real's terminal name.
From
:
Gustavo Dantas
Subject
:
[Help-acct] Obtaining the real's terminal name.
Date
:
Sat, 29 Nov 2008 11:47:18 -0200
I've written a C program to filter the processes listed in acct output file.
The struct I'm using is acct_v3 which has a __u32 field named ac_tty.
This field when is read, is read as an number, but then it runs through a hash table (i think) that returns the corresponding string for it.
My question is, how can i obtain the real name of the terminal, eg: tty7?
thanks in advance.
G.D.
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
[Help-acct] Obtaining the real's terminal name.
,
Gustavo Dantas
<=
Index(es):
Date
Thread