null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
20309125
Simple Shell
Description
Diagram for the project the Simple Shell
No tags specified
shell c programation
tecnólogo
Flowchart by
Leidy Saldana
, updated more than 1 year ago
More
Less
Created by
Leidy Saldana
about 5 years ago
626
0
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
Si (binary/octet-stream)
Si (binary/octet-stream)
Si (binary/octet-stream)
Si (binary/octet-stream)
Si (binary/octet-stream)
No (binary/octet-stream)
No (binary/octet-stream)
No (binary/octet-stream)
No (binary/octet-stream)
No (binary/octet-stream)
END
Flecha (binary/octet-stream)
Show full summary
Hide full summary
Want to create your own
Flowcharts
for
free
with GoConqr?
Learn more
.
Similar
All the Countries of the World and their Capital Cities
PatrickNoonan
Plant Structure and Photosynthesis
mckenziedev
Electromagnetism: Magnetic Flux Density & Magnetic Flux 2
tatemae.honne
Health and Social Care
NicoleCMB
OCR AS Biology - Enzymes
Chris Osmundse
GCSE Science - B1 - You and Your Genes - Genes, Chromosomes and DNA
GeorgeHaines
Unit 1 flashcards
C R
AQA A2 Biology Unit 4: Populations
Charlotte Lloyd
Electrolysis
lisawinkler10
Mitosis
Selam H
The Periodic Table
asramanathan
Browse Library