diff options
Diffstat (limited to 'extorlocal.c')
-rw-r--r-- | extorlocal.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/extorlocal.c b/extorlocal.c new file mode 100644 index 0000000..e27f1ae --- /dev/null +++ b/extorlocal.c @@ -0,0 +1,19 @@ +#include <u.h> +#include <libc.h> + +static char s[] = "hello "; +char t[] = "world\n"; + +void +greet(void) +{ + write(1, s, 6); + write(1, t, 6); +} + +void +main() +{ + greet(); + //exits(0); +} |