User Tools

Site Tools


c:conio.h:getpass

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:conio.h:getpass [2013/02/08 19:47]
127.0.0.1 external edit
c:conio.h:getpass [2024/02/16 01:05] (current)
Line 1: Line 1:
 ====== getpass ====== ====== getpass ======
 <code c> <code c>
 +char *getpass(const char *ptr);
 </code> </code>
  
 ==== description of getpass ==== ==== description of getpass ====
-getpass is in work by code-reference.com \\  +reads a password 
-if you are faster... don't hasitate and add it+ 
 +getpass reads a password from the system console, after the user is prompted for a password to a null-terminated string and display the password has been disabledA pointer to a null-terminated string of up to eight characters (not counting null terminator) is returned.
  
 <code c> <code c>
-no example at the moment+#include <conio.h> 
 +  
 +int main( void ) 
 +
 +    char *password; 
 +  
 +    password = getpass("type in your password: "); 
 +    cprintf("Password: %s\n", password); 
 +    return 0; 
 +}
 </code> </code>
  
 ===== output of getpass c example ===== ===== output of getpass c example =====
-    no example at the moment+    type in your password: superpass 
 +    Password: superpass
  

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/conio.h/getpass.txt · Last modified: 2024/02/16 01:05 (external edit)

Impressum Datenschutz