/ push_swap / push_swap / push_swap_utils.c
push_swap_utils.c
 1  /* ************************************************************************** */
 2  /*                                                                            */
 3  /*                                                        :::      ::::::::   */
 4  /*   push_swap_utils.c                                  :+:      :+:    :+:   */
 5  /*                                                    +:+ +:+         +:+     */
 6  /*   By: gychoi <gychoi@student.42seoul.kr>         +#+  +:+       +#+        */
 7  /*                                                +#+#+#+#+#+   +#+           */
 8  /*   Created: 2022/12/04 18:41:15 by gychoi            #+#    #+#             */
 9  /*   Updated: 2022/12/04 22:35:10 by gychoi           ###   ########.fr       */
10  /*                                                                            */
11  /* ************************************************************************** */
12  
13  #include "push_swap.h"
14  
15  void	ps_error(void)
16  {
17  	write(1, "Error\n", 6);
18  	exit(1);
19  }