Replaced opendir.c with directory.c, implemented chdir(), fchdir(), and
getcwd(). Introduced new xyz(int fd, char *path, ...) style of functions for sys_setcwd(), and sys_write_stat(). Added missing sys_fstat(). Removed duplicated prototypes in syscalls.h Fixed some minor bugs. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@669 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -69,9 +69,9 @@ extern "C" {
|
||||
/* file functions */
|
||||
//extern int access(const char *path, int amode);
|
||||
|
||||
//extern int chdir(const char *path);
|
||||
//extern int fchdir(int fd);
|
||||
//extern char *getcwd(char *buffer, size_t size);
|
||||
extern int chdir(const char *path);
|
||||
extern int fchdir(int fd);
|
||||
extern char *getcwd(char *buffer, size_t size);
|
||||
|
||||
//extern int pipe(int fildes[2]);
|
||||
extern int dup(int fd);
|
||||
|
||||
Reference in New Issue
Block a user