chiark
/
gitweb
/
~mdw
/
misc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Release 1.2.7.
[misc]
/
getpass.c
1
#include <unistd.h>
2
#include <stdio.h>
3
4
int main(int argc, char *argv[])
5
{
6
char *p = getpass(argc > 1 ? argv[1] : "Go on: ");
7
if (!p) {
8
perror("getpass");
9
return (1);
10
}
11
puts(p);
12
return (0);
13
}