Commit Graph

266 Commits

Author SHA1 Message Date
David Reid
47cfcef2aa Change a couple of codes to be POSIX ones.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@96 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:42:50 +00:00
David Reid
62f1aef129 More posix codes...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@95 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:41:20 +00:00
David Reid
058d10cc83 Change to use EIO
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@94 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:40:03 +00:00
David Reid
0141c92400 Ctahc up with more posix codes instead of ERR_
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@93 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:38:58 +00:00
David Reid
d700c5a3cf More adjustments to deal with POSIX codes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@92 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:25:29 +00:00
David Reid
d71118c74f Change to using POSIX error codes and adjust the includes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@91 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:24:54 +00:00
Axel Dörfler
07fefdf493 Implemented the read_dir(), and rewind_dir() functions for all internal
file systems.
Removed the read() functionality for directories.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@63 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:55:33 +00:00
Axel Dörfler
b18756ad83 Updated dev.c to use sys_read_dir() instead of sys_read().
Is this file even needed anymore? If so, we may move its functionality elsewhere.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@62 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:54:34 +00:00
Axel Dörfler
be28e9bd97 Added the syscalls for sys_read_dir(), and sys_rewind_dir(), and moved the
use of the IOCPARM_LEN() macro to the ioctl() function in libc.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@61 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:49:37 +00:00
Axel Dörfler
65dc706027 Converted module.c to use sys_read_dir() instead of sys_read(). But it really
should use opendir(), and readdir().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@60 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:48:27 +00:00
Axel Dörfler
c1f7f96bbf Added a parameter for the maximum number of dirents for sys_read_dir().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@59 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:47:38 +00:00
Axel Dörfler
f2e60e56e0 Added missing a newline.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@39 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:48:19 +00:00
David Reid
434d5d1923 As this seemed to be going round and round with no-one fixing it, here
is a fix.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@34 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 13:08:47 +00:00
Ingo Weinhold
54f76689cb Adjusted the SubDir and SubInclude parameters.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@15 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 20:15:44 +00:00
Ingo Weinhold
8b3bd88c41 I don't know why the path to this header is hard-coded. However, adjusted to the new structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@14 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 20:14:09 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00