How to translate ac_tty to /dev/tty??

Douglas Floer dougf at mdavcr.UUCP
Sat Feb 3 10:47:58 AEST 1990



On BSD systems such as Sun's, the acct structure defined in .../{h,sys}/acct.h
has a short called "ac_tty" that indicates the tty the command was run on.
Can someone tell me how to translate the ac_tty short to "/dev/tty??" format?

Thanks,
Doug
-- 
Doug Floer, MDA, Richmond, BC, Canada             ..!uunet!van-bc!mdavcr!dougf



More information about the Comp.unix.wizards mailing list