-/*
- * Copyright (c) 1997-2004, Index Data
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
- *
- * $Id: atoin.c,v 1.4 2004-12-13 14:21:55 heikki Exp $
*/
/**
#include <string.h>
#include <ctype.h>
-
+#include <yaz/marcdisp.h>
/**
* atoi_n: like atoi but reads at most len characters.
{
if (isdigit (*(const unsigned char *) buf))
val = val*10 + (*buf - '0');
- buf++;
+ buf++;
}
return val;
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+