Back to index

courier  0.68.2
Functions
comstrtimestamp.c File Reference
#include "comstrtimestamp.h"
#include "maxlongsize.h"

Go to the source code of this file.

Functions

const char * strtimestamp (time_t n)

Function Documentation

const char* strtimestamp ( time_t  n)

Definition at line 9 of file comstrtimestamp.c.

{
static char buf[MAXLONGSIZE];
char *p=buf+sizeof(buf)-1;

       *p=0;
       do
       {
              *--p='0' + (n % 10);
              n=n / 10;
       } while (n);
       return (p);
}

Here is the caller graph for this function: