diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-09-28 15:02:51 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-09-28 15:02:51 +0200 |
| commit | ac4278405b7a258010219499cccc0dd978201caf (patch) | |
| tree | 501b23b1874b6fa264c9b612d0fe5b5ebc9cd26a /philo_one/philo_one.h | |
| parent | f0a36076950bf0c3356ad73382ce3d341cdb0463 (diff) | |
| download | philosophers-ac4278405b7a258010219499cccc0dd978201caf.tar.gz philosophers-ac4278405b7a258010219499cccc0dd978201caf.tar.bz2 philosophers-ac4278405b7a258010219499cccc0dd978201caf.zip | |
Added argument error reporting
Diffstat (limited to 'philo_one/philo_one.h')
| -rw-r--r-- | philo_one/philo_one.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/philo_one/philo_one.h b/philo_one/philo_one.h index 331db2f..0d6844c 100644 --- a/philo_one/philo_one.h +++ b/philo_one/philo_one.h @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/11/24 06:11:16 by cacharle #+# #+# */ -/* Updated: 2020/09/27 10:42:58 by charles ### ########.fr */ +/* Updated: 2020/09/28 14:22:57 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -19,6 +19,7 @@ # include <pthread.h> # include <stdbool.h> # include <limits.h> +# include <stdarg.h> typedef long int t_time; @@ -116,6 +117,7 @@ long int h_atou_strict(char *s); void h_putnbr(unsigned long num); void h_putchar(char c); void h_putstr(char *s); +int h_err(int ret, const char *format, ...); t_time h_time_now(void); #endif |
