toaruos/loader/echo.c

19 lines
269 B
C
Raw Normal View History

2011-04-12 01:51:31 +04:00
#include <syscall.h>
2011-04-09 01:02:30 +04:00
int main(int argc, char ** argv) {
2011-04-12 01:51:31 +04:00
for (int i = 1; i < argc; ++i) {
syscall_print(argv[i]);
if (i != argc - 1) {
syscall_print(" ");
}
2011-04-09 01:02:30 +04:00
}
2011-04-12 01:51:31 +04:00
syscall_print("\n");
return 0;
2011-04-09 01:02:30 +04:00
}
2011-04-12 01:51:31 +04:00
/*
* vim:tabstop=4
* vim:noexpandtab
* vim:shiftwidth=4
*/