Powered by Apache

CVS log for OpenXM/doc/oxlib/test2.c

[BACK] Up to [local] / OpenXM / doc / oxlib

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6 / (download) - annotate - [select for diffs], Wed Mar 28 05:09:38 2018 UTC (6 years, 9 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored) to selected 1.3 (colored)

oxlib test programs work on Mac OS X.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 8 10:29:03 2003 UTC (21 years, 9 months ago) by ohara
Branch: MAIN
CVS Tags: R_1_3_1-2, RELEASE_1_3_1_13b, RELEASE_1_2_3_12, RELEASE_1_2_3, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, KNOPPIX_2006, DEB_REL_1_2_3-9
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored) to selected 1.3 (colored)

Add #include <stdio.h> and <ox/cmotag.h>

Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 8 07:49:59 2003 UTC (21 years, 9 months ago) by takayama
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

Update for a configuration, but it still does not work.

Revision 1.3 / (download) - annotate - [selected], Mon Feb 25 07:09:02 2002 UTC (22 years, 10 months ago) by noro
Branch: MAIN
CVS Tags: RELEASE_1_2_1
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

A sample program file to call libasir.a.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Mar 16 07:34:37 2000 UTC (24 years, 9 months ago) by noro
Branch: MAIN
CVS Tags: maekawa-ipv6, RELEASE_1_1_3, RELEASE_1_1_2
Changes since 1.1: +3 -5 lines
Diff to previous 1.1 (colored) to selected 1.3 (colored)

Makefile : cleanup around the directory names.
test1.c, test2.c : modified the name and the location of the header file.
test3.c : another sample.

% test3
Input>asir 123     <- push 123
Input>pop          <- pop and print
Output>
00 00 00 14 00 00 00 01 00 00 00 7b
Input>push 00 00 00 14 00 00 00 01 00 00 00 0c  <- push 12
Input>push 00 00 00 14 00 00 00 01 00 00 00 08  <- push 8
Input>push 00 00 00 02 00 00 00 02              <- push int32 2
Input>asir "igcd"   <- push a string (function name)
Input>cmd 269       <- executeFunction
Input>pop
Output>
00 00 00 14 00 00 00 01 00 00 00 04     <- 4 = gcd(12,8)
Input>asir quit                         <- execute asir 'quit' command
%

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 8 13:25:41 2000 UTC (24 years, 10 months ago) by takayama
Branch: MAIN
Diff to selected 1.3 (colored)

This module is a document for using oxasir as a C-library.
test?.c are sample programs.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>