getdtablesize() no longer needs a syscall.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@667 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2002-08-09 17:51:02 +00:00
parent 2f5118ccdc
commit 14e18e556e
3 changed files with 4 additions and 6 deletions
-2
View File
@@ -31,8 +31,6 @@ int sys_fsync(int fd);
int sys_create(const char *path, int omode, int perms);
int sys_open(const char *path, int omode);
int sys_close(int fd);
ssize_t sys_read(int fd, void *buf, off_t pos, size_t len);
ssize_t sys_write(int fd, const void *buf, off_t pos, size_t len);
off_t sys_seek(int fd, off_t pos, int seek_type);
int sys_ioctl(int fd, ulong op, void *buf, size_t length);
int sys_unlink(const char *path);
+3 -3
View File
@@ -114,9 +114,9 @@ extern off_t lseek(int fd, off_t offset, int whence);
//extern int unmount(const char *path);
extern int getdtablesize(void);
//extern long sysconf(int name);
//extern long fpathconf(int fd, int name);
//extern long pathconf(const char *path, int name);
extern long sysconf(int name);
extern long fpathconf(int fd, int name);
extern long pathconf(const char *path, int name);
/* process functions */
//extern pid_t fork(void);
+1 -1
View File
@@ -81,7 +81,7 @@ enum {
SYSCALL_TEST_AND_SET, /* 70 */
SYSCALL_SYSCTL,
SYSCALL_SOCKET,
SYSCALL_GETDTABLESIZE,
SYSCALL_GETDTABLESIZE, /* ToDo: to be removed, can be reused */
SYSCALL_FD_STAT,
SYSCALL_READ_DIR,
SYSCALL_REWIND_DIR,