prog: systemd: simple function call test
This commit is contained in:
@@ -1,4 +1,14 @@
|
|||||||
int main(void)
|
#include <mango/log.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
|
kern_logf("systemd");
|
||||||
|
kern_logf("args:");
|
||||||
|
|
||||||
|
for (int i = 0; i < argc; i++) {
|
||||||
|
kern_logf("[%d]: %s", i, argv[i]);
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user