annotate shell/shdc/examples.txt @ 6:80273969f043

- ruby binding path cleanup, previous version required bindings and dyncall be checked out in same parent directory
author cslag
date Sat, 26 Mar 2016 00:12:40 +0100
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