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