tgrekov-ft_printf
HIVE printf Feb 2024
Loading...
Searching...
No Matches
s_subspec Struct Reference

Holds subspecifier options for a format specifier. More...

#include <subspec.h>

Data Fields

char left_justify
 1 or 0, whether padding should left justify.
 
char * forced_sign
 String to print before the value. Set before preprocessing for a format handler. Will be overriden, discarded, or copied to s_sequence::sign during preprocessing.
 
char force_decimal
 1 or 0, whether or not to prefix octals or hexadecimals with their respective prefixes. Named for its behavior when used with floating point specifiers, to always include the decimal.
 
char * pad_str
 String used when padding values.
 
int min_width
 Minimum number of characters to be printed.
 
int precision
 Minimum number of digits to be printed, or maximum characters for strings.
 
t_lenmod lenmod
 Represents the length modifiers for a format specifier's variable argument.
 

Detailed Description

Holds subspecifier options for a format specifier.

Definition at line 64 of file subspec.h.


The documentation for this struct was generated from the following file: