-
Notifications
You must be signed in to change notification settings - Fork 0
/
is_link.c
executable file
·20 lines (18 loc) · 994 Bytes
/
is_link.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* is_link.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ioleksiu <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/08/15 20:49:18 by ioleksiu #+# #+# */
/* Updated: 2017/08/15 20:49:22 by ioleksiu ### ########.fr */
/* */
/* ************************************************************************** */
#include "lem_in.h"
int is_link(char *str)
{
if (ft_strchr(str, '-'))
return (1);
return (0);
}