-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
25 lines (22 loc) · 1.08 KB
/
main.c
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dshatilo <dshatilo@student.hive.fi> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/29 12:09:04 by dshatilo #+# #+# */
/* Updated: 2023/12/26 15:45:30 by dshatilo ### ########.fr */
/* */
/* ************************************************************************** */
#include "srcs/push_swap.h"
int main(int argc, char *argv[])
{
int *args_arr;
args_arr = check_argc(&argc, argv);
if (!args_arr)
return (0);
push_swap(args_arr, argc);
free(args_arr);
return (0);
}