?? t_getpass.c
字號:
#include "apue.h"char *getpass(const char *);intmain(void){ char *ptr; if ((ptr = getpass("Enter password:")) == NULL) err_sys("getpass error"); printf("password: %s\n", ptr); /* now use password (probably encrypt it) ... */ while (*ptr != 0) *ptr++ = 0; /* zero it out when we're done with it */ exit(0);}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -