|
Libft
Custom implementation of core libc functions with additional utility helpers.
|
#include "buff_format.h"
Functions | |
| static void | parse_flags (t_rules *rules, const char **const fstring) |
| Parses flag characters from the format string. | |
| static void | parse_width (t_rules *rules, const char **const fstring) |
| Parses width specifier from the format string. | |
| static void | parse_precision (t_rules *rules, const char **const fstring) |
| Parses precision specifier from the format string. | |
| static void | normalize (t_rules *rules) |
| Normalizes rules based on conversion specifier constraints. | |
| void | rules_parse (t_rules *rules, const char **const fstring) |
| Parses format specifiers from a format string. | |
|
static |
Normalizes rules based on conversion specifier constraints.
| rules | Pointer to the rules structure. |

|
static |
Parses flag characters from the format string.
| rules | Pointer to the rules structure. |
| fstring | Pointer to format string pointer. |


|
static |
Parses precision specifier from the format string.
| rules | Pointer to the rules structure. |
| fstring | Pointer to format string pointer. |


|
static |
Parses width specifier from the format string.
| rules | Pointer to the rules structure. |
| fstring | Pointer to format string pointer. |


| void rules_parse | ( | t_rules * | rules, |
| const char **const | fstring | ||
| ) |
Parses format specifiers from a format string.
| rules | Pointer to the rules structure to populate. |
| fstring | Pointer to format string pointer (advanced by parsing). |

