[haiku-bugs] Re: [Haiku] #4947: Identify Missing/Incorrect POSIX Functionality

  • From: "scottmc" <trac@xxxxxxxxxxxx>
  • Date: Tue, 21 Dec 2010 18:43:47 -0000

#4947: Identify Missing/Incorrect POSIX Functionality
---------------------------+------------------------------
  Reporter:  bonefish      |        Owner:  nobody
      Type:  enhancement   |       Status:  new
  Priority:  normal        |    Milestone:  R1
 Component:  System/POSIX  |      Version:  R1/Development
Resolution:                |     Keywords:
Blocked By:                |  Has a Patch:  0
  Platform:  All           |     Blocking:
---------------------------+------------------------------

Comment (by scottmc):

 Another GCI student was tasked with reviewing headers A-H, here's the
 results from that research task, another task will be opened to implement
 these:

 arpa/inet.h is fine.

 --------------------------------------------

 assert.h is fine.

 --------------------------------------------

 ctype.h

 None of the locale functions, ..._l(int, locale_t), are declared.

 --------------------------------------------

 dirent.h

 The dir parameter of the dirfd function shouldn't be const.

 --------------------------------------------

 dlfcn.h is fine.

 --------------------------------------------

 errno.h is fine.

 --------------------------------------------

 fcntl.h

 Flags for fcntl() are missing: F_GETOWN and F_SETOWN.

 File creation flag for open() is missing: O_TTY_INIT.
 File access mode flags for open() are missing: O_EXEC and O_SEARCH.

 The following optional functionality is missing:

 int posix_fadvise(int, off_t, off_t, int);
 int posix_fallocate(int, off_t, off_t);

 POSIX_FADV_DONTNEED
 POSIX_FADV_NOREUSE
 POSIX_FADV_NORMAL
 POSIX_FADV_RANDOM
 POSIX_FADV_SEQUENTIAL
 POSIX_FADV_WILLNEED

 --------------------------------------------

 fenv.h is fine.

 --------------------------------------------

 fnmatch.h is fine.

 --------------------------------------------

 glob.h is fine.

 --------------------------------------------

 grp.h is fine.

 --------------------------------------------

 The following headers are missing:

 aio.h,
 complex.h,
 cpio.h,
 float.h,
 fmtmsg.h,
 ftw.h.


 --------------------------------------

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/4947#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: