Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.5 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.5 KB
# **************************************************************************** #
#                                                                              #
#                                                         :::      ::::::::    #
#    pipex                                              :+:      :+:    :+:    #
#                                                     +:+ +:+         +:+      #
#    By: aachhoub <[email protected]>        +#+  +:+       +#+         #
#                                                 +#+#+#+#+#+   +#+            #
#    Created: 2022/12/04      by aachhoub              #+#    #+#              #
#    Updated: 2022/12/04      by aachhoub             ###   ########.fr        #
#                                                                              #
# **************************************************************************** #

pipex

Redirections and Pipes, multi-processing.

Functions:

  • exit_with_error: exits when an error encoutered, and it prints the error message to the stderr.
  • print_error: prints a custom error to the stderr and exits.
  • find_path: checks whether we have F_OK access to a specific path.
  • ft_contains: checks whether a string is the substring of another string.
  • execute: executes an executable (ex. shell commands)
  • open_file: opens a file on a specific condition.
  • get_next_line: reads from the stdin until it gets a \n or \0

Author:

Abdo Achhoubi