From a6f94c132c425bbab543e98fcd19f4ff7519d1b7 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 14 Jan 2017 16:38:08 -0500 Subject: Implement -printf/-fprintf Based on a patch by Fangrui Song . Closes #16. --- bftw.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bftw.h') diff --git a/bftw.h b/bftw.h index 80a66c9..2fb1ef0 100644 --- a/bftw.h +++ b/bftw.h @@ -64,6 +64,8 @@ struct BFTW { /** The string offset of the filename. */ size_t nameoff; + /** The root path passed to bftw(). */ + const char *root; /** The depth of this file in the traversal. */ size_t depth; /** Which visit this is. */ -- cgit v1.2.3