David Reid
46f728924e
Include errno.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:49:02 +00:00
David Reid
9ca7451251
Swap the order of the headers so we have everything defined and so avoid
...
the warnings about sem_info and port_info (defined in kernel/OS.h)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 10:15:18 +00:00
David Reid
d2de8b3867
Include kerrors.h where it's required.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:21:56 +00:00
David Reid
f6327bfa2e
ERR -> E
...
Change header includes if reqd.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:21:16 +00:00
David Reid
c90a447062
ERR -> E
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:19:52 +00:00
David Reid
394b2aa25b
ERR -> E
...
CVSR -> E------------------------------------------------------------------
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:18:07 +00:00
David Reid
082fc2ba6d
If Axel doesn't want to maintain this then why are we still building it?
...
Remove the iso9660 stuff from the build as it's no longer being
maintained and never did anything anyways :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@98 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:49:34 +00:00
David Reid
66da50355a
We shoulnd't be using ERR_ codes here, so change it to a posix one.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@97 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:47:09 +00:00
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