I am playing around with utmp and I saw these two lines in the man:
Code:
int32_t ut_addr_v6[4]; /* IP address of remote host. */
#define ut_addr ut_addr_v6[0]
Now, I have never heard of the type int32_t. Since the first index in the array is used to define ut_addr for backward compatibility I thought that index would explain something or at least give a clue.
I got the value 1387536345 which still not make a lot of sense to me.
I would like to get something so I can use inet_ntoa() or simular to get a v4 IP-addr.