mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
14 lines
227 B
C
14 lines
227 B
C
#include <stdio.h>
|
|
|
|
__attribute__ ((section("entry")))
|
|
int main(int argc, char** argv) {
|
|
if (argc < 2) {
|
|
printf("Usage: %s <file>\n", argv[0]);
|
|
return 1;
|
|
}
|
|
|
|
printf("%s\n", argv[1]);
|
|
|
|
return 0;
|
|
}
|