While having a look at the ftw(3) man page, I noticed we lacked an example. The attached patch adds a small yet clear example on how to use this function. Fix: Apply the attached patch if it is found to be suitable. Patch attached with submission follows: How-To-Repeat: man ftw
Responsible Changed From-To: freebsd-doc->keramida I'll take care of this.
Any progress on this?
Release to wild.
(In reply to Mark Linimon from comment #3) Wow... it really took a long time to reach the starting point again... :) It's a really small patch but I think it improves the documentation. I would be really glad to modify it or discuss how to improve it.
https://reviews.freebsd.org/D21750
A commit references this bug: Author: 0mp Date: Thu Mar 5 14:52:24 UTC 2020 New revision: 358674 URL: https://svnweb.freebsd.org/changeset/base/358674 Log: ftw.3: Add examples PR: 173448 [1] Submitted by: fernape@ (previous version) [1] Reviewed by: jilles Approved by: bcr (mentor) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D21750 Changes: head/lib/libc/gen/ftw.3
Finally, committed (in a slightly different form but still)! Thanks!
(In reply to Mateusz Piotrowski from comment #7) Hey! I forgot about this one. Better late than never :-) Thank you!
A commit references this bug: Author: 0mp Date: Thu Mar 19 10:31:47 UTC 2020 New revision: 359127 URL: https://svnweb.freebsd.org/changeset/base/359127 Log: MFC 358674, 358916: Add examples to ftw.3 ftw.3: Add examples PR: 173448 [1] Submitted by: fernape@ (previous version) [1] Reviewed by: jilles Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D21750 ftw.3: Follow style(9) in the example Reported by: oshogbo Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D24043 Changes: _U stable/12/ stable/12/lib/libc/gen/ftw.3
A commit references this bug: Author: 0mp Date: Thu Mar 19 10:32:39 UTC 2020 New revision: 359128 URL: https://svnweb.freebsd.org/changeset/base/359128 Log: MFC 358674, 358916: ftw.3: Add examples PR: 173448 [1] Submitted by: fernape@ (previous version) [1] Reviewed by: jilles Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D21750 ftw.3: Follow style(9) in the example Reported by: oshogbo Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D24043 Changes: _U stable/11/ stable/11/lib/libc/gen/ftw.3