/* $Id: gnelm.c,v 1.6 2007/05/23 02:50:15 strauman Exp $ */ #include #include #include #include /* Trivial command line utility using multi-ezca / ezca * useful for debugging DLL / PATH problems under WIN32 */ /* Author: Till Straumann , 2003 */ #define MAX_PVS 25 int main(int argc, char **argv) { int blah[MAX_PVS]; int i; if (--argc > MAX_PVS) argc = MAX_PVS; if (!argc) { fprintf(stderr,"Usage: %s PV [PV] [PV]...\n",argv[0]); exit(1); } argv++; multi_ezca_get_nelem(argv,argc,blah,0); printf("Numbers of elements of the requested PV(s) is/are:\n"); for (i=0; i