/in/foo.c: In function 'main':
/in/foo.c:7:2: warning: implicit declaration of function 'put' [-Wimplicit-function-declaration]
put("Please input a positive integer number.");
^~~
/in/foo.c:11:2: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
scanf_s("%" PRIu32, &k);
^~~~~~~
/in/foo.c:19:4: warning: implicit declaration of function 'print' [-Wimplicit-function-declaration]
print("%" PRIu32 "\n", i);
^~~~~
/tmp/ccsIPjvE.o: In function `main':
foo.c:(.text.startup+0x1f): undefined reference to `put'
foo.c:(.text.startup+0x32): undefined reference to `scanf_s'
foo.c:(.text.startup+0x63): undefined reference to `print'
collect2: error: ld returned 1 exit status