annotate user/hello.c3 @ 326:2fa27c44e3c9

Changed hasbang
author Windel Bouwman
date Sat, 01 Feb 2014 16:54:33 +0100
parents 04cf4d26a3bc
children 6ae782a085e0
rev   line source
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
1 module hello;
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
2 import lib;
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
3
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
4 /*
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
5 Demo program running in userspace.
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
6 */
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
7
311
ff665880a6b0 Added testcase for kernel and userspace
Windel Bouwman
parents: 283
diff changeset
8 function void start()
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
9 {
313
04cf4d26a3bc Added constant function
Windel Bouwman
parents: 311
diff changeset
10 lib.print(9); // 'Hello space');
283
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
11 }
c9781c73e7e2 Added first kernel files
Windel Bouwman
parents:
diff changeset
12