execute.h 400 B

123456789101112131415161718192021222324
  1. /*
  2. * File: execute.h
  3. * Author: Arthur Brandao
  4. *
  5. * Created on 9 novembre 2018
  6. */
  7. #ifndef EXECUTE_H
  8. #define EXECUTE_H
  9. /* --- Include --- */
  10. #include <sys/types.h>
  11. #include "constante.h"
  12. /* --- Extern --- */
  13. extern pid_t active;
  14. /* --- Fonctions publiques --- */
  15. boolean is_executable_file(const char *);
  16. int exec_shell(char*, char**);
  17. int exec_file(char*, char**);
  18. #endif /* EXECUTE_H */