annotate user/console.c3 @ 370:f86e79246602

Remove null stdio
author Windel Bouwman
date Fri, 21 Mar 2014 11:57:32 +0100
parents 084cccaa5deb
children
rev   line source
315
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
1 module console;
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
2
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
3 import ipc;
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
4
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
5
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
6 function void main()
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
7 {
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
8 while(true)
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
9 {
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
10 var ipc.Msg msg;
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
11 ipc.receive_message(&msg);
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
12 }
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
13 }
084cccaa5deb Added console and screen
Windel Bouwman
parents:
diff changeset
14