Commit Graph

72 Commits

Author SHA1 Message Date
Axel Dörfler d068515fcb Completed sys/select.h, renamed the howmany() macro to _howmany() - now
also contains the pselect() prototype.
Added new header file sys/time.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 18:34:45 +00:00
Axel Dörfler 493130b326 Fixed and cleaned up select.h.
Exports now the prototype correctly in C++.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 17:49:41 +00:00
beveloper 8fcf577e24 Fixed a strange, and hard to find bug.
extern "C" {
was not terminated.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 14:43:27 +00:00
beveloper 9fc7164698 allow building everything without local(tree external) header files beeing
used for kernel or kit components


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:13:17 +00:00
beveloper 54d6a27c67 a new and native sys/types.h header for OpenBeOS
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 16:24:50 +00:00
Axel Dörfler 10567eeb6e Changed an unused field of struct stat (st_rdev) to st_type, so that we
can use this structure to call fstat() on attributes and indices.
Added more functions to the file system interface (attributes, and indices).
Added header fs_attr.h, and fs_index.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 16:02:53 +00:00
Axel Dörfler 8edc4bb4c8 Added a very preliminary time.h
Removed the bzero()/bcopy() prototypes, and replaced them with macros - we
should decide what to do with them.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 02:33:02 +00:00
beveloper 0b5170a447 modified to support building of libnet
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 00:02:40 +00:00
Philippe Houdoin d3dadb6b54 Forgot to move select.h and sockio.h from old /net_kit tree
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 19:53:43 +00:00
Axel Dörfler eb11b67370 Added a preliminary sys/types.h that just includes ktypes.h for now.
Changed other headers to include sys/types.h rather than ktypes.h.
Added a license reference at the beginning of those files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 11:10:51 +00:00
Axel Dörfler 83a74a6b48 Added param.h to the repository.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 10:35:02 +00:00
Axel Dörfler 2311f9f79f Added a BeOS like fcntl.h, with some additions (which might be implemented
some day).
Cleaned up sys/stat.h a bit, and added new definitions for different types
of symlinks I plan to add - though I am still not sure if it's a good idea ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 01:26:14 +00:00
Axel Dörfler ae372703ce Big commit: Added symlink support to the kernel.
- added needed syscalls to access symlink support from userland
- implemented lstat(), symlink(), and readlink()
- added dev_t to ktypes.h (for now - should be in a public header anyway)
- added symlink support to the "ls" command (now calls lstat() and shows the
  link target with the -l option)
- changed the sys_read_stat() call to support symlinks, and updated files
  using that function (it gets an extra argument: bool traverseLink)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 02:03:27 +00:00
David Reid 7fbbc98590 Select probably will end up being defined elsewhere, and we don't yet
support it anyway, so remove this file as it's no longer needed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 09:33:07 +00:00
David Reid f9e588eeb1 The ioctl defines are just in socket.h now, so no need for a seperate file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 09:32:15 +00:00
David Reid 4f113a4615 This is now just uio.h and is provided by the system, so no need to
have a different version for the network.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 09:31:24 +00:00
David Reid 8fd4cae92e These are posix files so should be under posix/sys - which is now where they
are :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 09:29:46 +00:00
David Reid bd3bb49923 Bring this up to date.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 09:27:23 +00:00
David Reid 1f058e396c Small update to bring this up to date.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 09:19:40 +00:00
David Reid 4b111a88c1 Add this in the correct place.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 09:14:15 +00:00
David Reid f41c281f54 This is the correct place for this file.
Improved the comments and doxygen style to try and make the file
more readable.

The previous version can't be removed until we have the posix paths included
in the include paths. Once this is done the existsing version should be
removed as this is more up to date.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@67 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 23:23:15 +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