Re: [Perl-unix-users] unpack template for AIX utmp struct

2006-09-07 Thread $Bill Luebkert
Pedro Simões wrote: > Hello, > I'm trying to figure out the unpack template for the AIX utmp struct. > > I've tried this templates: > A256 A14 A64 l s x2 l l s2 A256 l l2 l6 > A256 A14 A64 l s x2 l l s2 A256 l x8 x24 > A256 A14 A64 l s x2 l s2 A256 l l2 l6 > A256 A14 A64 l s x2 l s2 A256 l x8 x24

[Perl-unix-users] unpack template for AIX utmp struct

2006-09-07 Thread Pedro Simões
Hello,I'm trying to figure out the unpack template for the AIX utmp struct.This is the C struct:code:struct utmp{char ut_user[256] ; /* User login name */ char ut_id[14] ;/* /etc/inittab id */char ut_line[64] ; /* device name (console