data_structures
src
utils
ds_exit.c
Go to the documentation of this file.
1
/* ************************************************************************** */
3
/* */
4
/* ::: :::::::: */
5
/* ds_exit.c :+: :+: :+: */
6
/* +:+ +:+ +:+ */
7
/* By: unite <marvin@42.fr> +#+ +:+ +#+ */
8
/* +#+#+#+#+#+ +#+ */
9
/* Created: 2020/09/07 19:48:38 by unite #+# #+# */
10
/* Updated: 2020/09/07 22:26:32 by unite ### ########.fr */
11
/* */
12
/* ************************************************************************** */
13
14
#include "
utils.h
"
15
20
void
ds_exit
(
void
)
21
{
22
perror(
"data_structures"
);
23
exit(errno);
24
}
utils.h
ds_exit
void ds_exit(void)
Print the error message, corresponding to errno, exit the process.
Definition:
ds_exit.c:20
Generated by
1.8.16