delorie.com/djgpp/doc/libc/libc_127.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

ctime

Syntax

 
#include <time.h>

char *ctime(const time_t *cal);

Description

This function returns an ASCII representation of the time in cal. This is equivalent to asctime(localtime(cal)). See section asctime. See section localtime.

Return Value

The ascii representation of the time.

Portability

ANSI/ISO C C89; C99
POSIX 1003.2-1992; 1003.1-2001


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004