-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror_messages.h
27 lines (24 loc) · 1.4 KB
/
error_messages.h
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
26
27
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* error_messages.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rblondia <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/13 16:47:35 by rblondia #+# #+# */
/* Updated: 2022/01/24 10:04:28 by rblondia ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef ERROR_MESSAGES_H
# define ERROR_MESSAGES_H
/**
* Parsing errors
*/
# define USAGE "Usage:./philo <count> <die> <eat> <sleep> [times_each_must_eat]"
# define MISSING_ARGUMENTS_MSG "Missing arguments!"
# define TOO_MANY_ARGUMENTS_MSG "Too many arguments!"
# define WRONG_ARGUMENT_TYPE_MSG "Wrong argument type!"
# define EAGAIN_MSG "Cannot create new thread: max thread numbers reached!\n"
# define EINVAL_MSG "Cannot create new thread: invalid arguments!\n"
# define EPERM_MSG "Cannot create new thread: wrong permissions!\n"
#endif