Added MarcXchange support.
[yaz-moved-to-github.git] / src / atoin.c
index cb3a899..908188e 100644 (file)
@@ -1,8 +1,13 @@
 /*
- * Copyright (c) 1997-2004, Index Data
+ * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: atoin.c,v 1.2 2004-08-13 11:35:37 adam Exp $
+ * $Id: atoin.c,v 1.6 2005-01-15 19:47:10 adam Exp $
+ */
+
+/** 
+ * \file atoin.c
+ * \brief Implements atoi_n function.
  */
 
 #if HAVE_CONFIG_H
 
 #include <string.h>
 #include <ctype.h>
-#include <yaz/yaz-util.h>
+#include <yaz/marcdisp.h>
 
+/**
+ * atoi_n: like atoi but reads at most len characters.
+ */
 int atoi_n (const char *buf, int len)
 {
     int val = 0;