On my last post, I included two simple programs to check the max length of
the login name. But the includes where wrong. Should have been utmpx.h and
utmp.h (not wtmpx.h and wtmp.h).

Sorry about the mess.

The correct codes would be:

#include <wtmpx.h>

main () {
        printf("%d\n",__UT_NAMESIZE);
}

and

#include <wtmp.h>

main () {
        printf("%d\n",UT_NAMESIZE);
}

-- 
 Rodrigo Barbosa (morcego)         - rodrigob at conectiva.com.br
 Conectiva R&D Team                - http://distro.conectiva.com.br
 "Quis custodiet ipsos custodiet?" - http://www.conectiva.com

PGP signature

Reply via email to