/*
- * $Id: zoomsh.c,v 1.7 2001-11-18 21:14:23 adam Exp $
+ * $Id: zoomsh.c,v 1.8 2002-02-20 14:40:42 adam Exp $
*
* ZOOM-C Shell
*/
printf ("%d %s %s\n", pos+1, (db ? db : "unknown"), syntax);
if (render)
fwrite (render, 1, len, stdout);
- putchar ('\n');
+ printf ("\n");
}
}
}
/*
- * $Id: zoomtst3.c,v 1.5 2001-12-30 22:21:11 adam Exp $
+ * $Id: zoomtst3.c,v 1.6 2002-02-20 14:40:42 adam Exp $
*
* Asynchronous multi-target client doing search and piggyback retrieval
*/
printf ("%d\n", pos+1);
if (rec)
fwrite (rec, 1, len, stdout);
- putchar ('\n');
+ printf ("\n");
}
}
}
/*
- * $Id: zoomtst5.c,v 1.7 2001-12-30 22:21:11 adam Exp $
+ * $Id: zoomtst5.c,v 1.8 2002-02-20 14:40:42 adam Exp $
*
* Asynchronous multi-target client doing search, sort and present
*/
(db ? db : "unknown"));
if (rec)
fwrite (str, 1, len, stdout);
- putchar ('\n');
+ printf ("\n");
}
}
}
/*
- * $Id: zoomtst6.c,v 1.8 2001-11-28 23:00:19 adam Exp $
+ * $Id: zoomtst6.c,v 1.9 2002-02-20 14:40:42 adam Exp $
*
* Asynchronous multi-target client doing two searches
*/
printf ("%d %s\n", pos+1, (db ? db : "unknown"));
if (render)
fwrite (render, 1, len, stdout);
- putchar ('\n');
+ printf ("\n");
}
}
}
/*
- * $Id: zoomtst7.c,v 1.8 2001-12-30 22:21:11 adam Exp $
+ * $Id: zoomtst7.c,v 1.9 2002-02-20 14:40:42 adam Exp $
*
* API test..
*/
ZOOM_query_destroy (s);
- putchar ('.');
+ printf (".");
if (block > 0)
while (ZOOM_event (1, &z))
;
r[j] = ZOOM_connection_search_pqf (z, query);
- putchar ('.');
+ printf (".");
if (block > 0)
while (ZOOM_event (1, &z))
;
}
-
ZOOM_connection_destroy (z);
for (j = 0; j < 10; j++)