-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstringerize.c
More file actions
22 lines (19 loc) · 1008 Bytes
/
stringerize.c
File metadata and controls
22 lines (19 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* stringerize.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lilam <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/01/15 09:01:27 by lilam #+# #+# */
/* Updated: 2018/01/31 02:38:50 by hiroshius ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
char *stringerize(char c)
{
char *new;
new = ft_strnew(1);
new[0] = c;
return (new);
}