[PATCH] __fpurge(3)

Ralf Corsepius ralf.corsepius@rtems.org
Wed May 18 08:00:00 GMT 2011


On 05/18/2011 08:42 AM, Yaakov (Cygwin/X) wrote:
> This patch implements __fpurge(3):
>
> http://www.kernel.org/doc/man-pages/online/pages/man3/fpurge.3.html
>
> As noted there, neither fpurge(3) nor __fpurge(3) are portable; the
> former is BSD, the latter originally Solaris and now also in glibc,
> making it an increasingly more common form.
>
> Patch and new header attached.

Generally speaking, I am opposed to furtherly extending newlib with 
non-standardized functions like these.

I don't know what others (esp. Cygwin) think about such kind of 
extensions, but I'd like to see "not implemented" for RTEMS
(i.e. at minimum #ifndef __rtems__).

Ralf



More information about the Newlib mailing list