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:
Axel Dörfler
2002-08-09 20:20:28 +00:00
parent 63f16f88e2
commit beddff0f56
9 changed files with 155 additions and 108 deletions
+3 -3
View File
@@ -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);