GSoC/GCI Archive
Google Code-in 2010 Haiku

Identify Missing/Incorrect POSIX Functionality in header files R-Z

completed by: Deyan Genovski

mentors: Bruno Albuquerque

http://dev.haiku-os.org/ticket/4947

Haiku is missing quite a bit of POSIX functionality (mandatory and optional), some is not implemented correctly, others are exposed in the wrong header. This is a research to identify those issues:

  • Make a complete POSIX header list of headers/posix/r* through header/posix/z*
  • Iterate through the headers beginning with r through the ones beginning with z ( http://dev.haiku-os.org/browser/haiku/trunk/headers/posix/ ) and compare them with the specification ( http://www.opengroup.org/onlinepubs/9699919799/).

These are the ones that should be compared:

regex.h

resolv.h

sched.h

search.h (skip, as it was done on another task already)

semaphore.h

setjmp.h

shadow.h

signal.h

size_t.h

stdint.h

stdio_ext.h (skip, as it was done on another task already)

stdio_post.h (skip, as it was done on another task already)

stdio_pre.h (skip, as it was done on another task already)

stdlib.h (skip, as it was done on another task already)

string.h

strings.h

sys/* (skip, as it was done on another task already)

syslog.h

termios.h (skip, as it was done on another task already)

time.h

unistd.h

utime.h

wchar.h (skip, as it was done on another task already)

wchar_t.h

wctype.h (skip, as it was done on another task already)