FOSSology  4.4.0
Open Source License Compliance by Open Source Software
utility.h
1 /*
2  SPDX-FileCopyrightText: © 2011 Hewlett-Packard Development Company, L.P.
3 
4  SPDX-License-Identifier: GPL-2.0-only
5 */
6 
7 #ifndef UTILITY_H
8 #define UTILITY_H
9 
10 #include <string.h>
11 #include <stdlib.h>
12 
13 #define MAX_LENGTH 150
14 
15 int file_dir_existed(char *path_name);
16 int RemoveDir(char *dir);
17 
18 #endif
int RemoveDir(char *dirpath)
Remove all files under dirpath (rm -rf)
Definition: utils.c:1641