|
@@ -8,6 +8,7 @@
|
|
#pragma once
|
|
#pragma once
|
|
|
|
|
|
#include <AK/Error.h>
|
|
#include <AK/Error.h>
|
|
|
|
+#include <pwd.h>
|
|
#include <signal.h>
|
|
#include <signal.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/stat.h>
|
|
#include <termios.h>
|
|
#include <termios.h>
|
|
@@ -45,5 +46,6 @@ ErrorOr<struct termios> tcgetattr(int fd);
|
|
ErrorOr<void> tcsetattr(int fd, int optional_actions, struct termios const&);
|
|
ErrorOr<void> tcsetattr(int fd, int optional_actions, struct termios const&);
|
|
ErrorOr<void> chmod(StringView pathname, mode_t mode);
|
|
ErrorOr<void> chmod(StringView pathname, mode_t mode);
|
|
ErrorOr<void> chown(StringView pathname, uid_t uid, gid_t gid);
|
|
ErrorOr<void> chown(StringView pathname, uid_t uid, gid_t gid);
|
|
|
|
+ErrorOr<struct passwd> getpwnam(StringView name);
|
|
|
|
|
|
}
|
|
}
|