コード例 #1
0
ファイル: virtio-9p-local.c プロジェクト: dorlaor/qemu
static int local_utimensat(FsContext *s, V9fsPath *fs_path,
                           const struct timespec *buf)
{
    char buffer[PATH_MAX];
    char *path = fs_path->data;

    return qemu_utimensat(AT_FDCWD, rpath(s, path, buffer), buf,
                          AT_SYMLINK_NOFOLLOW);
}
コード例 #2
0
static int local_utimensat(FsContext *s, const char *path,
                           const struct timespec *buf)
{
    return qemu_utimensat(AT_FDCWD, rpath(s, path), buf, AT_SYMLINK_NOFOLLOW);
}