LibC: Stub out getpass()

This commit is contained in:
Andreas Kling 2020-02-20 06:58:48 +01:00
parent c3b09c7242
commit 7c12d66f61
Notes: sideshowbarker 2024-07-19 09:12:27 +09:00
2 changed files with 7 additions and 0 deletions

View file

@ -701,4 +701,10 @@ int unveil(const char* path, const char* permissions)
int rc = syscall(SC_unveil, &params);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
char* getpass(const char* prompt)
{
dbg() << "FIXME: getpass(\"" << prompt << "\")";
ASSERT_NOT_REACHED();
}
}

View file

@ -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,