-
Notifications
You must be signed in to change notification settings - Fork 0
/
strfuncs1.c
35 lines (30 loc) · 1.18 KB
/
strfuncs1.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* funcs.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: bwebb <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/18 12:31:46 by bwebb #+# #+# */
/* Updated: 2020/01/18 14:24:22 by bwebb ### ########.fr */
/* */
/* ************************************************************************** */
#include "./sudoku.h"
void ft_putchar(char in)
{
write(1, &in, 1);
}
void ft_putstr(char const *str)
{
while (str[0] && write(1, str++, 1))
;
}
int ft_isdigit(int c)
{
return ((c >= '0') && (c <= '9'));
}
void ft_putendl(char const *s)
{
ft_putstr(s);
ft_putchar('\n');
}