X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Futmp.h;h=b145a11d146eec4e6765f86f5dbbc0075bae0032;hp=77b16c7a023a1f3c22c1c302724bf40d04115bc8;hb=4eb4844b31906e1f8d4a1a1ff7a5c94e1083661f;hpb=108fdd3318529eea82406791bfb34f7f9f728662 diff --git a/include/utmp.h b/include/utmp.h index 77b16c7a..b145a11d 100644 --- a/include/utmp.h +++ b/include/utmp.h @@ -8,9 +8,15 @@ extern "C" { #include #define ACCOUNTING 9 -#define UT_LINESIZE 12 +#define UT_NAMESIZE 32 #define UT_HOSTSIZE 256 +struct lastlog { + time_t ll_time; + char ll_line[UT_LINESIZE]; + char ll_host[UT_HOSTSIZE]; +}; + #define ut_time ut_tv.tv_sec #define ut_name ut_user #define ut_exit __ut_exit