File: virhostdevmock.c

package info (click to toggle)
libvirt 11.3.0-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 199,232 kB
  • sloc: ansic: 531,528; xml: 289,675; python: 11,881; perl: 2,629; sh: 2,172; makefile: 447; javascript: 126; cpp: 22
file content (15 lines) | stat: -rw-r--r-- 301 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Copyright (C) 2020 Red Hat, Inc.
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#include <config.h>

#include "virutil.h"

char *
virGetUserRuntimeDirectory(void)
{
    return g_build_filename(g_getenv("LIBVIRT_FAKE_ROOT_DIR"),
                            "user-runtime-directory", NULL);
}