feat(sources): adding ping.c
This commit is contained in:
parent
6bb054c962
commit
92f61058d5
1 changed files with 23 additions and 0 deletions
23
sources/ping.c
Normal file
23
sources/ping.c
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
/* ************************************************************************** */
|
||||||
|
/* */
|
||||||
|
/* ::: :::::::: */
|
||||||
|
/* ping.c :+: :+: :+: */
|
||||||
|
/* +:+ +:+ +:+ */
|
||||||
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||||
|
/* +#+#+#+#+#+ +#+ */
|
||||||
|
/* Created: 2026/03/23 14:49:14 by rparodi #+# #+# */
|
||||||
|
/* Updated: 2026/03/28 12:45:52 by rparodi ### ########.fr */
|
||||||
|
/* */
|
||||||
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
#include "ping.h"
|
||||||
|
#include "struct.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <strings.h>
|
||||||
|
|
||||||
|
int main(int argc, char *argv[]) {
|
||||||
|
t_flags flags;
|
||||||
|
bzero(&flags, sizeof(t_flags));
|
||||||
|
parsing_args(argc, argv, &flags);
|
||||||
|
return (EXIT_SUCCESS);
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue