CS318 - Pintos
Pintos source browser for JHU CS318 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
}
lib.h
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
Generated on Thu Aug 22 2019 10:19:15 for CS318 - Pintos by
1.8.16