/
githubmirror
/
parted
Обзор
Документация
Войти
/
githubmirror
/
parted
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
libparted/tests/common.h
31 строка
705 B
John Paul Adrian Glaubitz
libparted:tests: Move get_sector_size() to common.c
23 дек 2016, 04:02
23 дек 2016, 04:02
5f9b0a2
Код
Авторство
О чём код?
#include <parted/parted.h> /* Determine sector size from environment * */ size_t get_sector_size (void); /* Create an empty disk image * * filename: file (with full path) where to write the disk image * size: size of disk image (megabytes) */ char* _create_disk (const off_t size); /* Create a disk label * * dev: device to use when creating the label * type: label type */ PedDisk* _create_disk_label (PedDevice* dev, PedDiskType* type); /* Return if a disk label is implemented * * label: disk label name */ int _implemented_disk_label (const char* label) _GL_ATTRIBUTE_PURE; /* Test specific exception handler * */ PedExceptionOption _test_exception_handler (PedException* e);