summaryrefslogtreecommitdiffstats
path: root/src/p_args.h
blob: 27f5729b8bc513a94eab0b48f7f3f302bc5b2c8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   p_args.h                                           :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: rbousset <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/14 17:19:27 by rbousset          #+#    #+#             */
/*   Updated: 2020/02/14 17:19:29 by rbousset         ###   ########lyon.fr   */
/*                                                                            */
/* ************************************************************************** */

#ifndef P_ARGS_H
#define P_ARGS_H

#include <stdint.h>

uint16_t	p_count_args(const char *head,
						char *ptr,
						uint16_t argc,
						size_t start[]);
char		**p_split_args(const char word[], int8_t redir);

#endif