¡GoConqr estrena diseño! Cuéntanos qué te parece.

Diagrama de flujo

Simple Shell

Leidy Saldana Español

Simple Shell

Contenido del diagrama

  1. SHELL

  2. My Prompt

  3. GETLINE

  4. ENTER

  5. Write a function and its a storage in Bufer

  6. EOF

  7. END

  8. Strtok: split the string and its storage in command

  9. "Error"

    Malloc

  10. Command [0]

    "exit"

  11. Command [0]

    "env"

  12. Print the current enviroment variables.

  13. FORK

  14. CHILDREN

    PID

  15. PARENT

    PPID

  16. WAIT

  17. Stat Return 0, if the file is Found.

  18. Fork

    "error"

  19. Stat == 0

    Stat(Command[0])

  20. EXECVE

    execve (command [0], command NULL)

  21. get_ent

    "PATH"

  22. Strtok: Split the string and each folder its storage in folders.

  23. Folders [i]

    != NULL

  24. return (Command[ 0])

  25. Found File

  26. readdir

    Read the files

  27. Folder [i] => Function

    strcat (function "i")

    strcat (function, dir -> d_name

  28. Simple Shell
  29. Simple Shell
  30. Simple Shell
  31. Simple Shell
  32. Simple Shell
  33. Simple Shell
  34. Simple Shell
  35. Simple Shell
  36. Simple Shell
  37. Simple Shell
  38. END

  39. Simple Shell

Información

Descripción
Diagram for the project the Simple Shell
Creado por
Leidy Saldana
Visitas
670
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?