Back to index

courier  0.68.2
Functions
comstrtotime.c File Reference
#include "comstrtotime.h"
#include <ctype.h>

Go to the source code of this file.

Functions

time_t strtotime (const char *p)

Function Documentation

time_t strtotime ( const char *  p)

Definition at line 9 of file comstrtotime.c.

{
time_t n=0;

       while (isdigit((int)(unsigned char)*p))
       {
              n *= 10;
              n += *p++ - '0';
       }
       return (n);
}

Here is the caller graph for this function: