From 2dbc28de095807f4c2bdb0faf02eae3626092c9d Mon Sep 17 00:00:00 2001 From: Frank Benkstein Date: Fri, 10 Aug 2007 10:14:39 +0200 Subject: [PATCH] src/vlock.h: update comment of prompt functions --- src/vlock.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/vlock.h b/src/vlock.h index 97d0319..7750f47 100644 --- a/src/vlock.h +++ b/src/vlock.h @@ -38,9 +38,11 @@ int auth(const char *user); /* Prompt for a string with the given message. The string is returned if - * successfully read, otherwise NULL. */ + * successfully read, otherwise NULL. The caller is responsible for freeing + * the resulting buffer. */ char *prompt(const char *msg); /* Prompt for a string with the given message without echoing input characters - * The string is returned if successfully read, NULL otherwise. */ + * The string is returned if successfully read, NULL otherwise. The caller is + * responsible for freeing the resulting buffer. */ char *prompt_echo_off(const char *msg); -- 2.11.4.GIT