PKUOS - Pintos
Pintos source browser for PKU Operating System course
src
tests
userprog
child-simple.c
Go to the documentation of this file.
1
/** Child process run by exec-multiple, exec-one, wait-simple, and
2
wait-twice tests.
3
Just prints a single message and terminates. */
4
5
#include <stdio.h>
6
#include "
tests/lib.h
"
7
8
const
char
*
test_name
=
"child-simple"
;
9
10
int
11
main
(
void
)
12
{
13
msg
(
"run"
);
14
return
81;
15
}
main
int main(void)
Definition:
child-simple.c:11
test_name
const char * test_name
Child process run by exec-multiple, exec-one, wait-simple, and wait-twice tests.
Definition:
child-simple.c:8
msg
void msg(const char *format,...)
Definition:
lib.c:28
lib.h
Generated on Thu Nov 4 2021 19:31:01 for PKUOS - Pintos by
1.9.2