Sources for adding ftw.h

Eshan Dhawan eshandhawan51 at gmail.com
Mon Mar 23 14:17:24 UTC 2020


hello everyone,
As @Vaibhav Gupta <vaibhav.varodek at gmail.com>   told the FreeBSD and NetBSD
implemenattio of ftw.h requirs fts.h which inturn requires sys/mount.h
which requirs many other headres that are not yet implemented so creating a
dependencies chain
requiring to add 10-15 more headers just to add ftw.h
So I started searching alternative sources to add ftw.h . So i found musl
also has a implementation for ftw.h as well and it dosent require fts.h to
be implemented

I would request you all to look into it and see it the implementation is
useful for RTEMS
since they have used a different approach to the functions

ftw.h : https://git.musl-libc.org/cgit/musl/tree/include/ftw.h
ftw.c: https://git.musl-libc.org/cgit/musl/tree/src/legacy/ftw.c
nftw.c: https://git.musl-libc.org/cgit/musl/tree/src/misc/nftw.c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200323/060f50fc/attachment.html>


More information about the devel mailing list