summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2012-04-13 14:39:49 +0000
committerchristos <christos@NetBSD.org>2012-04-13 14:39:49 +0000
commita8fdbcdcbc999a3753ff5ed4484428e2aa18793b (patch)
tree5d9f3b4d4501c805cfdc2a8194bfbde971d0a563 /include
parentfad4dca5eac608b07e231f280cf462ed72ae359d (diff)
add timeout to getpassfd.
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 41f77bbf163..e6ecbaefd81 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.131 2012/04/12 23:16:55 christos Exp $ */
+/* $NetBSD: unistd.h,v 1.132 2012/04/13 14:39:49 christos Exp $ */
/*-
* Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -327,7 +327,7 @@ int getdomainname(char *, size_t);
int getgrouplist(const char *, gid_t, gid_t *, int *);
int getgroupmembership(const char *, gid_t, gid_t *, int, int *);
mode_t getmode(const void *, mode_t);
-char *getpassfd(const char *, char *, size_t, int[], int);
+char *getpassfd(const char *, char *, size_t, int[], int, int);
#define GETPASS_NEED_TTY 0x01 /* Fail if we cannot set tty */
#define GETPASS_FAIL_EOF 0x02 /* Fail on EOF */
#define GETPASS_BUF_LIMIT 0x04 /* beep on buffer limit */