Index: ossp-pkg/sio/sio_test2.c RCS File: /v/ossp/cvs/ossp-pkg/sio/Attic/sio_test2.c,v co -q -kk -p'1.2' '/v/ossp/cvs/ossp-pkg/sio/Attic/sio_test2.c,v' | diff -u - /dev/null -L'ossp-pkg/sio/sio_test2.c' 2>/dev/null --- ossp-pkg/sio/sio_test2.c +++ /dev/null 2024-05-09 05:37:11.000000000 +0200 @@ -1,154 +0,0 @@ -#include -#include -#include -#include - -#include "al.h" -#include "sio.h" - -static char oddlabel, evenlabel; -#define ODDLABEL ((al_label_t)&oddlabel) -#define EVENLABEL ((al_label_t)&evenlabel) - -extern sio_module_t sio_module_fd; -extern sio_module_t sio_module_zlib; -extern sio_module_t sio_module_buffer; -extern sio_module_t sio_module_sio; -extern sio_module_t sio_module_sillymux; - -#define e(f) rc = f; printf("%s = %s\n",#f, sio_error(rc)); fflush(stdout); -#define s(f) src = f; printf("%s = %s\n",#f, sa_error(src)); fflush(stdout); - -int main(int argc, char *argv[]) -{ - int fd; - sio_rc_t rc; - - sio_t *sio; - sio_stage_t *sios_fd, *sios_buffer, *sios_zlib; - sio_stage_t *sios_sillymux; - - sio_t *sio2a; - sio_stage_t *sios2a_sio; - - sio_t *sio2b; - sio_stage_t *sios2b_sio; - - al_label_t label; - - char buf[513]; - size_t buflen; - int level; - size_t actual; - -#ifdef WRITE - fd = open("output", O_WRONLY|O_TRUNC|O_CREAT, 0666); - - { - int i; - for (i=0; i