summaryrefslogtreecommitdiffstats
path: root/meta-skeleton/recipes-skeleton/service/service/skeleton_test.c
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta-skeleton/recipes-skeleton/service/service/skeleton_test.c
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-skeleton/recipes-skeleton/service/service/skeleton_test.c')
-rw-r--r--meta-skeleton/recipes-skeleton/service/service/skeleton_test.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-skeleton/recipes-skeleton/service/service/skeleton_test.c b/meta-skeleton/recipes-skeleton/service/service/skeleton_test.c
new file mode 100644
index 0000000000..96c67ac118
--- /dev/null
+++ b/meta-skeleton/recipes-skeleton/service/service/skeleton_test.c
@@ -0,0 +1,12 @@
1#include <unistd.h>
2
3/* This demo does nothing except for testing /etc/init.d/skeleton */
4
5int main(int argc, char *argv[])
6{
7 daemon(0, 0);
8 while (1) {
9 sleep(1);
10 }
11 return 0;
12}