tgrekov-ft_printf
HIVE printf Feb 2024
Loading...
Searching...
No Matches
u_put_base.c File Reference

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* u_put_base.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/20 17:48:47 by tgrekov #+# #+# */
/* Updated: 2024/02/13 07:10:10 by tgrekov ### ########.fr */
/* */
/* ************************************************************************** */

Definition in file u_put_base.c.

#include <unistd.h>
#include "internal_types.h"
#include "../../../libft/libft.h"
Include dependency graph for u_put_base.c:

Go to the source code of this file.

Functions

int u_put_base (t_ubiggest n, char *base, int fd)
 Write unsigned number n on descriptor fd in base base.
 

Function Documentation

◆ u_put_base()

int u_put_base ( t_ubiggest  n,
char *  base,
int  fd 
)

Write unsigned number n on descriptor fd in base base.

Parameters
[in]n
[in]base
[in]fd
Return values
intNumber of characters written, or -1 on error.

Definition at line 49 of file u_put_base.c.

References ft_strlen().

Here is the call graph for this function:
Here is the caller graph for this function: