39 #include "blocxx/BLOCXX_config.h"
44 #ifdef BLOCXX_HAVE_UNISTD_H
48 #if defined(BLOCXX_WIN32)
61 #if defined(BLOCXX_WIN32)
62 #define MAXPASSWORD 128
67 char bfr[MAXPASSWORD+1];
70 _cputs(prompt.c_str());
75 if (ch !=
'\r' && len < MAXPASSWORD)
91 char* ptr = ::getpassword(prompt.c_str(), pw, 128);
93 char* ptr = ::getpass(prompt.c_str());
96 memset(ptr, 0x00, strlen(ptr) *
sizeof(
char));