Libft
Custom implementation of core libc functions with additional utility helpers.
Loading...
Searching...
No Matches
ft_putnbr_fd.c File Reference
#include <unistd.h>
Include dependency graph for ft_putnbr_fd.c:

Functions

static void write_rec (long nbr, int fd)
 Recursively writes digits of a number.
 
void ft_putnbr_fd (int n, int fd)
 Writes an integer to a file descriptor.
 

Function Documentation

◆ write_rec()

static void write_rec ( long  nbr,
int  fd 
)
static

Recursively writes digits of a number.

Parameters
nbrNumber to write.
fdFile descriptor to write to.
Here is the call graph for this function:
Here is the caller graph for this function: