Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

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 over 5 years ago
639
0
1 2 3 4 5 (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

0 comments

There are no comments, be the first and leave one below:

Similar

Spanish Verbs
Niat Habtemariam
History of Medicine: Ancient Ideas
James McConnell
PMP Prep quiz
Andrea Leyden
Presentations in English
Alice McClean
GCSE AQA Citizenship Studies: Theme 1
I Turner
AQA GCSE Physics Unit 2
Gabi Germain
Leaving Certificate Japanese Kanji
Sarah Egan
Using GoConqr to study History
Sarah Egan
Spelling, punctuation and grammar in English
Sarah Holmes
English spelling rules
Sarah Holmes