tgrekov-pipex
HIVE pipex May 2024
|
Definition in file u_print_base.c.
#include <unistd.h>
#include "../../sequence.h"
#include "../../../utils/utils.h"
#include "../../../utils/internal_types.h"
#include "../../../../../../libft.h"
Go to the source code of this file.
Functions | |
int | u_print_base (t_sequence seq, int fd, char *base) |
Writes an unsigned integer in base base on descriptor fd , with respect to the s_subspec::precision. | |
int u_print_base | ( | t_sequence | seq, |
int | fd, | ||
char * | base | ||
) |
Writes an unsigned integer in base base
on descriptor fd
, with respect to the s_subspec::precision.
[in] | seq | |
[in] | fd | |
[in] | base |
int | Number of characters written, or -1 on error. |
Definition at line 35 of file u_print_base.c.
References s_sequence::data, ft_strlen(), s_subspec::precision, repeat_str_n(), s_sequence::subspec, u_len_base(), u_put_base(), and wrap_err().