HPCToolkit
unlink.c File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <string.h>
#include <unistd.h>
#include "unlink.h"
Include dependency graph for unlink.c:

Go to the source code of this file.

Macros

#define BUF_LEN   4096
 

Functions

static int do_unlink_tree (char *path, int path_len, int max_len)
 
int unlink_tree (char *path)
 

Macro Definition Documentation

◆ BUF_LEN

#define BUF_LEN   4096

Definition at line 126 of file unlink.c.

Function Documentation

◆ do_unlink_tree()

static int do_unlink_tree ( char *  path,
int  path_len,
int  max_len 
)
static

Definition at line 73 of file unlink.c.

Here is the caller graph for this function:

◆ unlink_tree()

int unlink_tree ( char *  path)

Definition at line 128 of file unlink.c.

Here is the call graph for this function: