![]()  | 
								
									 
										tgrekov-pipex
									 
									
										HIVE pipex May 2024
									 
								 | 
							
Definition in file string.c.
#include <stdarg.h>#include <unistd.h>#include "../sequence.h"#include "../../../../../libft.h"#include "../../utils/internal_types.h"Go to the source code of this file.
Functions | |
| static int | process_string (t_sequence seq, int *fd, int total) | 
| Process the string specifier by writing the string. (Rocket science)   | |
| void | pre_string (va_list args, t_sequence *seq) | 
Preprocess the string specifier by retrieving the address, setting s_sequence::data to the address, or to "(null)" if it is null, setting s_sequence::total_len to the length of the string or the s_subspec::precision, if it is specified and less than the length, and setting s_sequence::process to process_string.   | |
| void pre_string | ( | va_list | args, | 
| t_sequence * | seq | ||
| ) | 
Preprocess the string specifier by retrieving the address, setting s_sequence::data to the address, or to "(null)" if it is null, setting s_sequence::total_len to the length of the string or the s_subspec::precision, if it is specified and less than the length, and setting s_sequence::process to process_string. 
| [in,out] | args | |
| [in,out] | seq | 
      
  | 
  static | 
Process the string specifier by writing the string. (Rocket science)
| [in] | seq | |
| [in] | fd | |
| [in] | total | (Unused) | 
| int | Output of write  | 
Definition at line 34 of file string.c.
References s_sequence::data, s_sequence::pad_len, and s_sequence::total_len.