Merge branch 'debian'
[hcoop/debian/courier-authlib.git] / libs / numlib / strinot.c
CommitLineData
d9898ee8 1/*
2** Copyright 1998 - 2000 Double Precision, Inc.
3** See COPYING for distribution information.
4*/
5
6#if HAVE_CONFIG_H
7#include "config.h"
8#endif
9#include "numlib.h"
10#include <string.h>
11
d9898ee8 12
13char *libmail_str_ino_t(ino_t t, char *arg)
14{
15char buf[NUMBUFSIZE];
16char *p=buf+sizeof(buf)-1;
17
18 *p=0;
19 do
20 {
21 *--p= '0' + (t % 10);
22 t=t / 10;
23 } while(t);
24 return (strcpy(arg, p));
25}