maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
ft_strcpy.c File Reference
#include "libft.h"
Include dependency graph for ft_strcpy.c:

Go to the source code of this file.

Functions

char * ft_strcpy (char *dest, const char *src)
 

Function Documentation

◆ ft_strcpy()

char * ft_strcpy ( char *  dest,
const char *  src 
)

Definition at line 25 of file ft_strcpy.c.

26{
27 unsigned int i;
28
29 i = 0;
30 while (src[i] != '\0')
31 {
32 dest[i] = src[i];
33 i++;
34 }
35 dest[i] = src[i];
36 return (dest);
37}

Referenced by generate_prompt(), and token_adj().

Here is the caller graph for this function: