Prompts the user to enter a password and returns the password.
#include <screen.h>
char *PromptForPassword (
scr_t scr,
const char *prompt,
int blotOutChar,
char *password,
size_t maxlen );
(IN) Specifies the screen that receives the prompt.
(IN) Points to a null terminated string, which prompts the user to enter a password.
(IN) Specifies the character to echo to the screen, in place of the actual input.
(OUT) Points to the user's response to the prompt.
(IN) Specifies the maximum number of bytes that can be in the password.
If successful, returns the password. Otherwise, returns a NULL pointer and sets errno:
The PromptForPassword function is not a NetWare OS function. It is only available from LibC.