Fix sem_timedwait() to return the correct error code(s)
completed by: qxcv
mentors: Philippe Saint-Pierre, mmu_man
This is a coding task, for this task you will need to have a Haiku build environment setup, and be able to compile Haiku to test to see if your fix works.