22 lines
1.1 KiB
C
22 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ask_command.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: jschaft <cecile.schaft@orange.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/04/23 14:15:12 by mcolonna #+# #+# */
|
|
/* Updated: 2024/06/13 13:27:53 by mcolonna ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef ASK_COMMAND_H
|
|
# define ASK_COMMAND_H
|
|
|
|
# include "include.h"
|
|
|
|
// Show the prompt and ask a command to the user.
|
|
// Return the command, or NULL if EOF if ^D.
|
|
const char *ask_command(t_env *env);
|
|
|
|
#endif
|