mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
Add getwd().
This commit is contained in:
parent
7c3746592b
commit
e5e0bffd76
4 changed files with 11 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
#include <limits.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
|
@ -29,6 +30,7 @@ int close(int fd);
|
|||
pid_t waitpid(pid_t, int* wstatus, int options);
|
||||
int chdir(const char* path);
|
||||
char* getcwd(char* buffer, size_t size);
|
||||
char* getwd(char* buffer);
|
||||
int lstat(const char* path, struct stat* statbuf);
|
||||
int stat(const char* path, struct stat* statbuf);
|
||||
int sleep(unsigned seconds);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue