Files
sibo-playground/code/hellorld/hello.c
T
lyrathorpe d8c80df020 feat(hello): add a Hellorld application
just the docs example, but better commented
2026-06-26 17:42:46 +01:00

17 lines
405 B
C

/*
* hello.c
*
* Hellorld application using Psion's "CLIB" - just plain C, no Psion extensions
*/
#include <stdio.h>
int main(VOID) {
// Does sprintf work here? The SDK is probably too old, but modern conventions would be nice
printf("Hellorld!");
// Wait for a key to be pressed
getchar();
// Exit, not sure why 0 is being passed as it's a void? But this is the SDK example code
return(0);
}