#2970 closed defect (fixed)

Add ftw.h to newlib

Reported by: Joel Sherrill Owned by: Needs Funding
Priority: normal Milestone: Indefinite
Component: unspecified Version:
Severity: normal Keywords: POSIX-Compliance
Cc: Blocked By:

Description (last modified by Joel Sherrill)

Add functionality from the ftw.h POSIX file per http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/ftw.h.html

This adds the methods ftw() and nftw().

Note that ftw() was declared obsolete by POSIX-2008 but should be added anyway for backwards compatibility.

FreeBSD implementation of both can be found here:


When these methods are added, modify testsuites/psxtests in the psxhdrs section to add the ftw API Compliance tests which are already in place.

Change History (6)

comment:1 Changed on Apr 3, 2017 at 11:53:14 PM by Joel Sherrill

Summary: Add ftw,hAdd ftw,h to newlib

comment:2 Changed on Mar 27, 2018 at 2:50:00 PM by Joel Sherrill

Description: modified (diff)
Summary: Add ftw,h to newlibAdd ftw.h to newlib

comment:3 Changed on Dec 6, 2018 at 4:08:35 AM by Joel Sherrill

Description: modified (diff)
Owner: set to Needs Funding
Status: newassigned
Version: 5

comment:4 Changed on Feb 6, 2021 at 9:02:25 PM by eshan dhawan

This issue can be closed when the newlib patch is pushed

comment:5 Changed on Apr 6, 2021 at 6:32:45 PM by eshan dhawan

FTW support has been added to newlib and tests have been added to RTEMS so this ticket can be closed now

comment:6 Changed on Apr 6, 2021 at 6:34:37 PM by eshan dhawan

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.