---
name: "rmdirhier"
section: "3abz"
platform: "linux"
package: "libabz0-dev"
version: "0.5.1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/rmdirhier"
---

# rmdirhier(3abz)

remove a directory hierarchy.

## NAME

rmdirhier - remove a directory hierarchy.

## LIBRARIES

Abz Library (-labz), Debug Library (-ldebug)

## SYNOPSIS

```
#include <abz/rmdirhier.h>

int rmdirhier(const char *dir);
```

## DESCRIPTION

The **rmdirhier()** function removes a directory hierarchy.

## RETURN VALUE

The **rmdirhier()** function returns 0 if successful or -1 if some error occurred.

Check *errno* to see what error occurred.

## NOTES

None of the libabz routines are thread-safe. I'm not planning to change this either! For more information, please see http://threading.2038bug.com/

## AUTHOR

Written by Abraham vd Merwe \<abz@blio.com\>
