Back to index

courier  0.68.2
Functions | Variables
strhtimet.c File Reference
#include "numlib.h"
#include <string.h>

Go to the source code of this file.


char * libmail_strh_time_t (time_t t, char *arg)


static const char xdigit [] = "0123456789ABCDEF"

Function Documentation

char* libmail_strh_time_t ( time_t  t,
char *  arg 

Definition at line 15 of file strhtimet.c.

char   buf[sizeof(t)*2+1];
char   *p=buf+sizeof(buf)-1;
unsigned i;

       for (i=0; i<sizeof(t)*2; i++)
              *--p= xdigit[t & 15];
              t=t / 16;
       return (strcpy(arg, p));

Here is the caller graph for this function:

Variable Documentation

const char xdigit[] = "0123456789ABCDEF" [static]

Definition at line 13 of file strhtimet.c.