-
Notifications
You must be signed in to change notification settings - Fork 0
/
comb_and.c
23 lines (20 loc) · 1.04 KB
/
comb_and.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* comb_and.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: qle-guen <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/10/19 12:37:27 by qle-guen #+# #+# */
/* Updated: 2016/10/19 14:18:30 by qle-guen ### ########.fr */
/* */
/* ************************************************************************** */
#include "libparse.h"
char *comb_and(t_pfun p1, t_pfun p2, char *inp)
{
char *r1;
r1 = run_pfun(p1, inp);
if (!r1)
return (NULL);
return (run_pfun(p2, inp));
}