/
githubmirror
/
nvme-cli
Обзор
Документация
Войти
/
githubmirror
/
nvme-cli
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
libnvme/src/nvme/cleanup-linux.h
16 строк
346 B
Daniel Wagner
shared: move fd/FILE cleanup helpers out of util/cleanup.h
07 авг 2026, 16:15
07 авг 2026, 16:15
3c1a641
Код
Авторство
О чём код?
// SPDX-License-Identifier: LGPL-2.1-or-later /* * This file is part of libnvme. * Copyright (c) 2026 SUSE Software Solutions * * Authors: Daniel Wagner <dwagner@suse.de> */ #pragma once #include <dirent.h> #include "cleanup.h" static inline DEFINE_CLEANUP_FUNC(cleanup_dir, DIR *, closedir) #define __cleanup_dir __cleanup(cleanup_dir)