2 * SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2012 Yannick Brosseau <yannick.brosseau@gmail.com>
6 * Lib BabelTrace - Common function to all tests
16 #define RMDIR_NFDOPEN 8
19 int nftw_recursive_rmdir(const char *file
,
20 const struct stat
*sb
__attribute__((unused
)),
22 struct FTW
*s
__attribute__((unused
)))
36 void recursive_rmdir(const char *path
)
38 int nftw_flags
= FTW_PHYS
| FTW_DEPTH
;
40 nftw(path
, nftw_recursive_rmdir
, RMDIR_NFDOPEN
, nftw_flags
);
This page took 0.031662 seconds and 4 git commands to generate.