StupidOS/sbin/fdisk/parted.h
d0p1 5c2c3bb348 chore: sync repo
- add various comments
- add stpd.file.mk
- etc
2025-10-30 16:36:18 +01:00

26 lines
423 B
C

#ifndef PARTED_H
# define PARTED_H 1
# include <stdio.h>
# define PARTED_LINE_MAX 1024
# define PARTED_DEFAULT_SECSZ 512
enum parted_unit {
PARTED_KiB = 1024,
PARTED_MiB = 1024 * 1024,
PARTED_GiB = 1024 * 1024 * 1024,
PARTED_KB = 1000,
PARTED_MB = 1000 * 1000,
PARTED_GB = 1000 * 1000 * 1000,
};
/* copyright.c */
extern const char *copyright;
/* main.c */
extern const char *prg_name;
#endif /* !PARTED_H */