![]()  | 
								
									 
										tgrekov-pipex
									 
									
										HIVE pipex May 2024
									 
								 | 
							
Definition in file pointer.c.
#include <stdarg.h>#include <unistd.h>#include "../sequence.h"#include "../../utils/utils.h"#include "../../utils/internal_types.h"Go to the source code of this file.
Functions | |
| int | process_uhex (t_sequence seq, int *fd, int total) | 
Process the unsigned octal specifier by printing the number in uppercase or lowercase base 16 depending on whether s_sequence::specifier is x or X.   | |
| void | pre_ptr (va_list args, t_sequence *seq) | 
Preprocess the pointer specifier by retrieving the address, setting the s_sequence::total_len with u_len_base(ptr, 16), setting the prefix to 0x, and setting the s_sequence::process to process_uhex.   | |
| void pre_ptr | ( | va_list | args, | 
| t_sequence * | seq | ||
| ) | 
Preprocess the pointer specifier by retrieving the address, setting the s_sequence::total_len with u_len_base(ptr, 16), setting the prefix to 0x, and setting the s_sequence::process to process_uhex. 
| [in,out] | args | |
| [in,out] | seq | 
| int process_uhex | ( | t_sequence | seq, | 
| int * | fd, | ||
| int | total | ||
| ) | 
Process the unsigned octal specifier by printing the number in uppercase or lowercase base 16 depending on whether s_sequence::specifier is x or X. 
| [in] | seq | |
| [in] | fd | |
| [in] | total | (Unused) | 
| int | Return value of u_print_base | 
Definition at line 37 of file uhex.c.
References s_sequence::specifier, and u_print_base().