|  | 
										tgrekov-ft_printf
									 
										HIVE printf Feb 2024
									 | 
Definition in file ft_substr.c.
#include "libft.h"Go to the source code of this file.
| Functions | |
| char * | ft_substr (char const *s, unsigned int start, size_t len) | 
| Allocates and returns a substring of s, starting ats+start, and ending no later thans+start+len. | |
| char * ft_substr | ( | char const * | s, | 
| unsigned int | start, | ||
| size_t | len | ||
| ) | 
Allocates and returns a substring of s, starting at s + start, and ending no later than s + start + len. 
| [in] | s | Null-terminated string to make a substring of | 
| [in] | start | Position from sat which to start | 
| [in] | len | Maximum length of the substring to make | 
| char* | Pointer to allocated null-terminated substring | 
Definition at line 32 of file ft_substr.c.
References ft_calloc(), ft_strlcpy(), and ft_strlen().