Browse Source

3.16

master
陈越 3 years ago
parent
commit
277499a70a
4 changed files with 1 additions and 7 deletions
  1. BIN
      a.out
  2. +0
    -1
      fun_1.c
  3. BIN
      main
  4. +1
    -6
      mytop.c

BIN
a.out View File


+ 0
- 1
fun_1.c View File

@ -30,7 +30,6 @@ void eval(char *cmdline)
int fd = open( "/dev/null", O_RDWR );
dup2( fd, 0 );
dup2( fd, 1 );
signal(SIGCHLD, SIG_IGN);
}
if(execvp(argv[0],argv)<0)
{

BIN
main View File


+ 1
- 6
mytop.c View File

@ -1,4 +1,4 @@
/*
#define mytop_h
#include <stdio.h>
#include <unistd.h>
@ -399,9 +399,4 @@ int mytop(){
//fflush(NULL);
return 0;
}
*/
int mytop()
{
}

Loading…
Cancel
Save