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