Simple Shell

Beschreibung

Diagram for the project the Simple Shell
Leidy Saldana
Flussdiagramm von Leidy Saldana, aktualisiert more than 1 year ago
Leidy Saldana
Erstellt von Leidy Saldana vor mehr als 4 Jahre
597
0

Zusammenfassung der Ressource

Flussdiagrammknoten

  • SHELL
  • My Prompt
  • GETLINE
  • ENTER
  • Write a function and its a storage in Bufer  
  • EOF
  • END
  • Strtok: split the string and its storage  in command
  • "Error" Malloc
  • Command [0] "exit"
  • Command [0] "env"
  •  Print the current enviroment variables.
  • FORK
  • CHILDREN PID
  • PARENT PPID
  • WAIT
  • Stat Return 0, if the file is Found.
  • Fork "error"
  • Stat == 0 Stat(Command[0])
  • EXECVE execve (command [0], command  NULL)
  • get_ent "PATH"
  • Strtok: Split the   string and each folder  its storage in folders.
  • Folders [i] != NULL
  • return (Command[ 0])
  • Found File
  • readdir Read the files
  • Folder [i] => Function strcat (function "i") strcat (function, dir -> d_name
  • END
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

must, had to, mustn't oder don't need to
escobar.annelize
10 Mind Mapping Strategien für Lehrer
AntonS
Modul 2D FernUni Hagen Beck
Anni T-Pünktchen
IKA-Theoriefragen Serie 02 (15 Fragen)
IKA ON ICT GmbH
Ideologie des Nationalsozialismus
Dude woode
Englisch Lernwortschatz A1-C1 Teil 2
Chiara Braun
GPSY ALPS
hf.meyer
Angewandte Sozialpsychologie
Leonie Horn
Vetie Pharma 2017
Larissa Görz
Vetie - Innere Medizin (Allgemein)
Fioras Hu
Vetie Berufsrecht 2020 !
Alena Gesing