summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/GetPassword.h
blob: ed16fd74bc4fa12b6762dbd0ea7744121453a2fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 2020, Peter Elliott <pelliott@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/OSError.h>
#include <AK/Result.h>
#include <AK/String.h>

namespace Core {

Result<String, OSError> get_password(const StringView& prompt = "Password: ");

}