annotate shell/shdc/examples.txt @ 18:3bfef07b0cd9

- cleanup of non-working java binding, restart work, somewhat different interface
author cslag
date Wed, 30 Mar 2016 02:05:06 +0200
parents 0cfcc391201f
children 1d50532dce12
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 Call:
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 -----
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 $ ./shdc -c /usr/lib/libm.so sqrt "d)d" 3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 1.73205
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 $ ./shdc -c /usr/lib/libm.so powf "ff)f" 3 2.5
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 15.5885
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 $ ./shdc -c /usr/lib/libc.so printf "_eZZi)v" "Hi! Say hi to %s, l%ier!" "Daniel" 8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 Hi! Say hi to Daniel, l8er!
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 List:
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 -----
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 $ ./shdc -l /usr/lib/libm.so