diff --git a/Libraries/LibC/unistd.cpp b/Libraries/LibC/unistd.cpp index 81769a2996d..4e14cb223e1 100644 --- a/Libraries/LibC/unistd.cpp +++ b/Libraries/LibC/unistd.cpp @@ -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(); +} } diff --git a/Libraries/LibC/unistd.h b/Libraries/LibC/unistd.h index 6d1d0c89f5c..d0f1610a7b4 100644 --- a/Libraries/LibC/unistd.h +++ b/Libraries/LibC/unistd.h @@ -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,