File: sch_SetCTim.c

package info (click to toggle)
alliance 5.0-20120515-6
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 70,324 kB
  • ctags: 39,977
  • sloc: ansic: 350,299; vhdl: 34,227; yacc: 27,122; sh: 12,416; cpp: 9,478; makefile: 7,057; lex: 3,684
file content (26 lines) | stat: -rw-r--r-- 775 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

/* ###--------------------------------------------------------------### */
/* file		: sch_SetCTim.c						*/
/* date		: Aug  5 1997						*/
/* version	: v101							*/
/* author	: Nizar ABDALLAH, Pirouz BARAGAN SABET			*/
/* description	: scheduler						*/
/* ###--------------------------------------------------------------### */

#include <stdio.h>
#include "sch.h"

/* ###--------------------------------------------------------------### */
/* function	: sch_SetCurrentTime					*/
/* description	: Set the scheduler's current time.			*/
/* called func.	: none							*/
/* ###--------------------------------------------------------------### */

void sch_SetCurrentTime (pt_shdul, date)

struct shdul *pt_shdul;
unsigned int  date    ;

  {
  pt_shdul->CURTIME = date;
  }