Maximum length of userid on Fedora Linux

Kevin Kofler kevin.kofler at chello.at
Tue Mar 30 18:51:57 UTC 2010


Miloslav Trmač wrote:
> Oh.  In that case, use LOGIN_NAME_MAX from <limits.h> (256 on my
> system).

Does that include the terminating '\0' or should the buffer actually be 
sized LOGIN_NAME_MAX+1?

        Kevin Kofler



More information about the devel mailing list