X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fatoin.c;h=47f5cd84dc9159bfdb2a29affe771278594aa94e;hp=cb3a89922eb9efe987db5c11eb7ada47ea1dd9a8;hb=05c274ef315384faafcc5900c17468f0ea2474e6;hpb=0420d74c15267c4cb7903503b51937f836096b7a diff --git a/src/atoin.c b/src/atoin.c index cb3a899..47f5cd8 100644 --- a/src/atoin.c +++ b/src/atoin.c @@ -2,7 +2,12 @@ * Copyright (c) 1997-2004, Index Data * 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.3 2004-10-15 00:18:59 adam Exp $ + */ + +/** + * \file atoin.c + * \brief Implements atoi_n function. */ #if HAVE_CONFIG_H @@ -13,6 +18,9 @@ #include #include +/** + * atoi_n: like atoi but reads at most len characters. + */ int atoi_n (const char *buf, int len) { int val = 0;