STD[IN|OUT|ERR] macros take from %_FILENO macros instead of hardcoded 0 1 2
This commit is contained in:
parent
0c79cfae8b
commit
b0c5e6530e
1 changed files with 3 additions and 3 deletions
|
|
@ -13,9 +13,9 @@
|
||||||
#ifndef LIBFT_H
|
#ifndef LIBFT_H
|
||||||
# define LIBFT_H
|
# define LIBFT_H
|
||||||
|
|
||||||
# define STDIN 0
|
# define STDIN STDIN_FILENO
|
||||||
# define STDOUT 1
|
# define STDOUT STDOUT_FILENO
|
||||||
# define STDERR 2
|
# define STDERR STDERR_FILENO
|
||||||
# define STDBUG 3
|
# define STDBUG 3
|
||||||
|
|
||||||
# define DG_MSG0 "{inv}{yel}%21s {bol}{blu}%-3d{eoc}"
|
# define DG_MSG0 "{inv}{yel}%21s {bol}{blu}%-3d{eoc}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue