tgrekov-ft_printf
HIVE printf Feb 2024
|
Definition in file store.c.
#include <stdarg.h>
#include <unistd.h>
#include <stdlib.h>
#include "../sequence.h"
#include "../../utils/internal_types.h"
Go to the source code of this file.
Functions | |
static int | process_store (t_sequence seq, int *fd, int total) |
Processes the store specifier by setting the value at the retrieved address to the number of characters written so far in the appropriate size dependent on the length modifier. | |
void | pre_store (va_list args, t_sequence *seq) |
Preprocess the store specifier by retrieving the address argument in the appropriate size dependent on the length modifier, ensuring that s_subspec::min_width is 0 , and setting s_sequence::process to process_store. | |
void pre_store | ( | va_list | args, |
t_sequence * | seq | ||
) |
Preprocess the store specifier by retrieving the address argument in the appropriate size dependent on the length modifier, ensuring that s_subspec::min_width is 0
, and setting s_sequence::process to process_store.
args | |
seq |
Definition at line 69 of file store.c.
References s_sequence::data, s_subspec::lenmod, s_subspec::min_width, s_sequence::process, process_store(), and s_sequence::subspec.
|
static |
Processes the store specifier by setting the value at the retrieved address to the number of characters written so far in the appropriate size dependent on the length modifier.
[in] | seq | |
[in] | fd | (Unused) |
[in] | total |
int | -1 if the retrieved address is null, otherwise 0 |
Definition at line 36 of file store.c.
References s_sequence::data, s_subspec::lenmod, and s_sequence::subspec.