Simple Shell

Descrição

Diagram for the project the Simple Shell
Leidy Saldana
Fluxograma por Leidy Saldana, atualizado more than 1 year ago
Leidy Saldana
Criado por Leidy Saldana mais de 4 anos atrás
597
0

Resumo de Recurso

Nós do fluxograma

  • 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

Semelhante

Direito Adiministrativo
Katiusce Cunha
Glossário de Biologia Geral
Alessandra S.
Aplicações do Mapa Mental
Alessandra S.
Sociologia - Origem
Malu Miralha
ESTILOS DE LIDERANÇA
willian reis
Fórmulas de Física para Vestibular
GoConqr suporte .
Física moderna
Vitoria Sefner
Guia Completo - Como usar GoConqr
GoConqr suporte .
Nascimento da Psicologia
Cleia6423
Trabalho de Português
Williana Karoline Vieira Fontenele
DESENVOLVIMENTO EMBRIONÁRIO
Vanessa Palauro