1: /*
   2: char id_gmtime[] = "@(#)gmtime_.c	1.1";
   3:  *
   4:  * return broken down time
   5:  *
   6:  * calling sequence:
   7:  *	integer time, t[9]
   8:  *	call gmtime(time, t)
   9:  * where:
  10:  *	time is a system time. (see time(3F))
  11:  *	t will receive the broken down time assuming GMT.
  12:  *	(see ctime(3))
  13:  */
  14: 
  15: #include    <time.h>
  16: #include    <sys/types.h>
  17: 
  18: struct tm *gmtime();
  19: 
  20: gmtime_(clock, t)
  21: time_t *clock; struct tm *t;
  22: {
  23:     struct tm *g;
  24: 
  25:     g = gmtime(clock);
  26:     *t = *g;
  27: }

Defined functions

gmtime_ defined in line 20; never used
Last modified: 1983-07-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 586
Valid CSS Valid XHTML 1.0 Strict