summaryrefslogtreecommitdiffstats
path: root/src/f_com.c
blob: d1edb2c6ff56698d5804cee47f19be047d38d404 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   f_com.c                                            :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   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   */
/*                                                                            */
/* ************************************************************************** */

#include <libft.h>
#include <unistd.h>

#include "d_define.h"
#include "s_struct.h"

void	f_command_not_found(const char command[])
{
	ft_dprintf(STDERR_FILENO, "%s: %s: %s\n", "minishell", command,
		F_COMMAND_NOT_FOUND);
}