mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
LibC: Stub out getpass()
This commit is contained in:
parent
c3b09c7242
commit
7c12d66f61
Notes:
sideshowbarker
2024-07-19 09:12:27 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/7c12d66f61f
2 changed files with 7 additions and 0 deletions
|
@ -701,4 +701,10 @@ int unveil(const char* path, const char* permissions)
|
|||
int rc = syscall(SC_unveil, ¶ms);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
char* getpass(const char* prompt)
|
||||
{
|
||||
dbg() << "FIXME: getpass(\"" << prompt << "\")";
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -140,6 +140,7 @@ int mount(const char* source, const char* target, const char* fs_type, int flags
|
|||
int umount(const char* mountpoint);
|
||||
int pledge(const char* promises, const char* execpromises);
|
||||
int unveil(const char* path, const char* permissions);
|
||||
char* getpass(const char* prompt);
|
||||
|
||||
enum {
|
||||
_PC_NAME_MAX,
|
||||
|
|
Loading…
Reference in a new issue