summaryrefslogtreecommitdiffstats
path: root/src/ft_f_fail.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-21 22:15:20 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-21 22:15:20 +0200
commitd54384fef56237ea8a88efe0a4fcd7f558c66252 (patch)
tree61f09270dca5273dbe63bbdd19141ff00ad76577 /src/ft_f_fail.c
parentCool (diff)
download42-minishell-d54384fef56237ea8a88efe0a4fcd7f558c66252.tar.gz
42-minishell-d54384fef56237ea8a88efe0a4fcd7f558c66252.tar.bz2
42-minishell-d54384fef56237ea8a88efe0a4fcd7f558c66252.tar.xz
42-minishell-d54384fef56237ea8a88efe0a4fcd7f558c66252.tar.zst
42-minishell-d54384fef56237ea8a88efe0a4fcd7f558c66252.zip
Tryna export
Diffstat (limited to '')
-rw-r--r--src/ft_f_fail.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ft_f_fail.c b/src/ft_f_fail.c
index 3459702..9a826ed 100644
--- a/src/ft_f_fail.c
+++ b/src/ft_f_fail.c
@@ -28,6 +28,15 @@ void
ft_write_fail(concern, FT_FAIL_NO_OPTIONS);
}
+ /* TODO: export failed identifier `123' */
+void
+ ft_fail_identifier(const char concern[],
+ const char identifier[])
+{
+ ft_dprintf(STDERR_FILENO,
+ "minishell: %s: `%s': not a valid identifier\n", concern, identifier);
+}
+
void
ft_fail_too_many_args(const char concern[])
{