aboutsummaryrefslogtreecommitdiff
path: root/examples/pbuilder-test/002_sample.c
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@coreduo.netfort.gr.jp>2007-06-23 19:35:55 +0900
committerJunichi Uekawa <dancer@coreduo.netfort.gr.jp>2007-06-23 19:35:55 +0900
commit697aeeb73f84864c8f24c05584274fef6672ef90 (patch)
tree801c7a9496d6676a1797cb724cde0edb1e8fd2d8 /examples/pbuilder-test/002_sample.c
parentf2f1e1d3b7e0730be83e07b70ad3fa565c123290 (diff)
downloadpbuilder-697aeeb73f84864c8f24c05584274fef6672ef90.tar
pbuilder-697aeeb73f84864c8f24c05584274fef6672ef90.tar.gz
* Documentation, examples/pbuilder-test/: add sample scripts for
pbuilder-test, and add reference to it.
Diffstat (limited to 'examples/pbuilder-test/002_sample.c')
-rw-r--r--examples/pbuilder-test/002_sample.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/pbuilder-test/002_sample.c b/examples/pbuilder-test/002_sample.c
new file mode 100644
index 0000000..632dbb7
--- /dev/null
+++ b/examples/pbuilder-test/002_sample.c
@@ -0,0 +1,17 @@
+/*
+ This is a file used by 002_libfile example.
+
+ test code to test that libecasoundc can be compiled
+ */
+#include <stdio.h>
+#include <ecasoundc.h>
+
+int main()
+{
+ printf("hello world\n");
+ eci_init();
+ eci_command("engine-status");
+ printf("%s\n", eci_last_string());
+ eci_cleanup();
+ return 0;
+}