Skip to content

Commit

Permalink
atualizacao_lab02
Browse files Browse the repository at this point in the history
  • Loading branch information
flubacheski committed Oct 29, 2024
1 parent b54d650 commit dceff75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions material/labs/processos.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,14 @@ O programa `recupera_senha.c` será avaliado de forma manual usando uma rubrica
```c
....
//descarte padrão linux, dados enviados para o arquivo são completamente descartados
int fd_null = open("/dev/null", O_WRONLY);
//Redireciona a saida padrao (stdout) para /dev/null
dup2(fd_null, STDOUT_FILENO);
close(fd_null);
execvp(prog, args);
....
```
**NOTA desta fase**: 2.5
Expand Down

0 comments on commit dceff75

Please sign in to comment.