Simple Shell

Description

Diagram for the project the Simple Shell
Leidy Saldana
Flowchart by Leidy Saldana, updated more than 1 year ago
Leidy Saldana
Created by Leidy Saldana almost 5 years ago
605
0

Resource summary

Flowchart nodes

  • 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
Show full summary Hide full summary

Similar

GCSE French Edexcel High Frequency Verbs: First Set
alecmorley2013
Characters in Lord of the Flies
lowri_luxton
ICT Key Terms Quiz - Part 1
Mr Mckinlay
Revision Timetable
katy.lay
Atomic Structure
Jenni
Biology B1
Phoebe Drew
Checking out me History by John Agard
Eleanor Simmonds
GCSE Computing : OCR Computing Course Revision
RoryOMoore
Basic English tenses
Mariola Hejduk
I wish I..
Cristina Cabal
3MA114 Management_test 1/2
Jakub Beyr