if (GetUserName(NULL, &namelen) == FALSE) return NULL;
if (GetUserName(NULL, &namelen) == FALSE) {  namelen = 256; }
char *get_username(void){    DWORD namelen;    char *user;    namelen = 0;    if (GetUserName(NULL, &namelen) == FALSE)	return NULL;    user = snewn(namelen, char);    GetUserName(user, &namelen);    return user;}