2 * Copyright (c) 1997, Index Data
3 * See the file LICENSE for details.
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.3 2000-02-29 13:44:55 adam
8 * Check for config.h (currently not generated).
10 * Revision 1.2 1999/11/30 13:47:12 adam
11 * Improved installation. Moved header files to include/yaz.
13 * Revision 1.1 1997/09/04 07:52:27 adam
14 * Moved atoi_n function to separate source file.
24 #include <yaz/yaz-util.h>
26 int atoi_n (const char *buf, int len)
33 val = val*10 + (*buf - '0');