|
Libft
Custom implementation of core libc functions with additional utility helpers.
|
Structure holding format specifier rules for printf-like formatting. More...
#include <buff_format.h>
Data Fields | |
| bool | plus |
| Display '+' sign for positive numbers. | |
| bool | space |
| Display space before positive numbers. | |
| bool | hex_prefix |
| Display '0x' or '0X' prefix for hex numbers. | |
| bool | zero_padding |
| Pad with zeros instead of spaces. | |
| bool | right_padding |
| Right-align the output. | |
| int | precision |
| Precision value, -1 if not set. | |
| bool | width_enabled |
| Width specifier is enabled. | |
| int | width |
| Minimum field width. | |
| char | conversion |
| Conversion specifier character. | |
| bool | is_zero |
| Value is zero (used for special cases). | |
Structure holding format specifier rules for printf-like formatting.
| char s_rules::conversion |
Conversion specifier character.
| bool s_rules::hex_prefix |
Display '0x' or '0X' prefix for hex numbers.
| bool s_rules::is_zero |
Value is zero (used for special cases).
| bool s_rules::plus |
Display '+' sign for positive numbers.
| int s_rules::precision |
Precision value, -1 if not set.
| bool s_rules::right_padding |
Right-align the output.
| bool s_rules::space |
Display space before positive numbers.
| int s_rules::width |
Minimum field width.
| bool s_rules::width_enabled |
Width specifier is enabled.
| bool s_rules::zero_padding |
Pad with zeros instead of spaces.