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

Functions

static size_t get_len (pid_t n)
 
static void populate (pid_t n, char *str, size_t i)
 
char * ft_pidtoa (pid_t n)
 Converts a pid_t to a string.
 

Function Documentation

◆ get_len()

static size_t get_len ( pid_t  n)
static
Here is the caller graph for this function:

◆ populate()

static void populate ( pid_t  n,
char *  str,
size_t  i 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: