Function

Dexunlink

unstable since: 1.1

Declaration [src]

DexFuture*
dex_unlink (
  const char* path
)

Description [src]

This runs g_unlink() on a dedicated thread.

Available since: 1.1

Parameters

path

Type: const char*

The path to unlink.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: DexFuture

A DexFuture that resolves to an int of 0 on success or rejects with error.

The caller of the function takes ownership of the data, and is responsible for freeing it.