This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10195501438
/
Operating_System
Watch
3
Star
2
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
3.16
master
陈越
3 years ago
parent
fd586bd63d
commit
277499a70a
4 changed files
with
1 additions
and
7 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
BIN
a.out
+0
-1
fun_1.c
BIN
main
+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
(
)
{
}
Write
Preview
Loading…
Cancel
Save