summaryrefslogtreecommitdiffstats
path: root/src/u_utils.h
blob: 2aa2c72ddf94a6382910b59e4a0757f47069a7dd (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
25
26
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   u_utils.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 U_UTILS_H
#define U_UTILS_H

#include <libft.h>
#include <stdint.h>

#include "s_struct.h"

t_bool		u_is_not_escaped(char *head, char *ptr);
void		u_eof_fd(int32_t fd);
uint64_t	u_builtins_get_argc(const char *args[]);
char		**u_get_env_var_names(t_msh *msh);

#endif