libft
Functions
ft_strncpy.c File Reference
#include "libft.h"
+ Include dependency graph for ft_strncpy.c:

Go to the source code of this file.

Functions

char * ft_strncpy (char *dst, const char *src, size_t len)
 Replicates behaviour of strncpy from libc. More...
 

Function Documentation

◆ ft_strncpy()

char* ft_strncpy ( char *  dst,
const char *  src,
size_t  len 
)

Replicates behaviour of strncpy from libc.

Definition at line 20 of file ft_strncpy.c.