wiki:Projects/POSIX_Methods_in_NewLib_RTEMS_improvements

Version 4 (modified by C Rempel, on Jul 18, 2013 at 5:06:23 AM) (diff)

/* Possibilities to extend the project */

POSIX Methods in NewLib? RTEMS improvements

Here is an overview of the issues in areas that we would even think about addressing. We don't want to get into issues related to methods we don't really support.= POSIX issues to be addressed by this project =

# Missing the restrict keyword on all methods that should have it per C99 , other issues found were: # incorrect guards for some methods that are part of the extended C Library or Xopen sets within POSIX # missing some methods. Some examples: ## inttypes.h defines some methods which are not present. ## no complex.h ## search.h is missng list methods ## we are missing some pthread.h methods ## we are missing some signal.h methods ## some random number calls are missing ## math.h missing some methods ## ftw.h is not present ## fenv.h is not present ## fstatvfs is missing at least a prototype in the right place ## ... other odds and ends

The missing inttypes.h methods and a number of others could be simple cases of getting code from FreeBSD. complex.h could come from FreeBSD: https://wiki.freebsd.org/Numerics

Others will be impossible to implement without multiple processes, and so we'll have to determine how we want to handle that...

Possibilities to extend the project

# some network stack methods can't be invoked with just the .h files listed in the man page # need to turn on support for getdate()= Additional Resources =

http://www.opengroup.org/testing/downloads.html