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
-
master
陈越
3 years ago
parent
195bd57a74
commit
435efddc9e
2 changed files
with
2 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
main.c
+1
-4
mytop.c
+ 1
- 1
main.c
View File
@ -11,7 +11,7 @@ int main()
{
char
cmdline
[
MAXLINE
]
;
main_proc_pid
=
getpid
(
)
;
signal
(
SIGINT
,
sigint_handler
)
;
/
/
signal
(
SIGINT
,
sigint_handler
)
;
while
(
1
)
{
+ 1
- 4
mytop.c
View File
@ -1,4 +1,4 @@
/*
#
include
<stdio.h>
#
include
<unistd.h>
#
include
<pwd.h>
@ -335,6 +335,3 @@ void mytop()
print_procs
(
prev_proc
,
proc
,
1
)
;
return
;
}
*/
void
mytop
(
)
{
}
Write
Preview
Loading…
Cancel
Save