printf("Enter command number: ");
PRINTF("Enter command number: ");
nsresult nsSmtpTestDriver::ReadAndDispatchCommand(){	nsresult status = NS_OK;	PRInt32 command = 0; 	char commandString[5];	commandString[0] = '\0';	printf("Enter command number: ");    fgets(commandString, sizeof(commandString), stdin);    strip_nonprintable(commandString);	if (commandString && *commandString)	{		command = atoi(commandString);	}	// now switch on command to the appropriate 	switch (command)	{	case 0:		status = ListCommands();		break;	case 1:		status = OnSendMessageInFile();		break;	default:		status = OnExit();		break;	}	return status;}