summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2012-04-12 23:16:38 +0000
committerchristos <christos@NetBSD.org>2012-04-12 23:16:38 +0000
commitcd4dbd19d8b3619a7b8318a0daf49322b65fcfa7 (patch)
tree9c05ed5e47cf58688952f5ef6bf63eb0d582cfc5 /include
parent6d1d49016752ef6f10fd43d5c1c80d3be1adc59f (diff)
add GETPASS_ECHO_STAR
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 292b635ab6c..41f77bbf163 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.130 2012/04/12 22:08:02 christos Exp $ */
+/* $NetBSD: unistd.h,v 1.131 2012/04/12 23:16:55 christos Exp $ */
/*-
* Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -333,7 +333,8 @@ char *getpassfd(const char *, char *, size_t, int[], int);
#define GETPASS_BUF_LIMIT 0x04 /* beep on buffer limit */
#define GETPASS_NO_SIGNAL 0x08 /* don't make ttychars send signals */
#define GETPASS_NO_BEEP 0x10 /* don't beep */
-#define GETPASS_ECHO 0x20 /* don't turn echo off */
+#define GETPASS_ECHO 0x20 /* echo characters as they are typed */
+#define GETPASS_ECHO_STAR 0x40 /* ech '*' for each character */
char *getpass_r(const char *, char *, size_t);
int getpeereid(int, uid_t *, gid_t *);
int getsubopt(char **, char * const *, char **);