Back to index

courier  0.68.2
Functions
strtimet.c File Reference
#include "numlib.h"
#include <string.h>

Go to the source code of this file.

Functions

char * libmail_str_time_t (time_t t, char *arg)

Function Documentation

char* libmail_str_time_t ( time_t  t,
char *  arg 
)

Definition at line 13 of file strtimet.c.

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

       *p=0;
       do
       {
              *--p= '0' + (t % 10);
              t=t / 10;
       } while(t);
       return (strcpy(arg, p));
}

Here is the caller graph for this function: