Example #1
0
File: rm.c Project: wojtuss/nvml
/*
 * pmempool_rmW -- remove pool files or poolsets in widechar
 */
int
pmempool_rmW(const wchar_t *path, int flags)
{
	char *upath = util_toUTF8(path);
	if (upath == NULL) {
		ERR("Invalid poolest/pool file path.");
		return -1;
	}

	int ret = pmempool_rmU(upath, flags);

	util_free_UTF8(upath);
	return ret;
}
Example #2
0
File: rm.c Project: wojtuss/nvml
/*
 * pmempool_rm -- remove pool files or poolsets
 */
int
pmempool_rm(const char *path, int flags)
{
	return pmempool_rmU(path, flags);
}
Example #3
0
File: rm.c Project: krzycz/nvml
/*
 * pmempool_rm -- remove pool files or poolsets
 */
int
pmempool_rm(const char *path, unsigned flags)
{
	return pmempool_rmU(path, flags);
}