Skip to content

abdoachhoubi/pipex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# **************************************************************************** #
#                                                                              #
#                                                         :::      ::::::::    #
#    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

Releases

No releases published

Packages

No packages published