File: asctime.c

package info (click to toggle)
linux86 0.16.21-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,072 kB
  • sloc: ansic: 66,757; asm: 6,154; makefile: 1,374; sh: 703
file content (15 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

#include <time.h>

extern void __asctime();

char *
asctime(timeptr)
__const struct tm * timeptr;
{
static char timebuf[26];

   if( timeptr == 0 ) return 0;
   __asctime(timebuf, timeptr);
   return timebuf;
}