source: trunk/Softwares/Test/Test_070/src/c/main.c @ 114

Last change on this file since 114 was 114, checked in by rosiere, 15 years ago

1) Fix bug with previous commit
2) Add test libc
3) Change Dhrystone

  • Property svn:keywords set to Id
File size: 404 bytes
Line 
1// $Id: main.c 114 2009-04-16 22:35:37Z rosiere $
2
3//=====[ main ]=================================================================
4/*
5 * All thread execute this routine
6 * Initialize the thread and attribute a Workload at each thread
7 */
8
9#include <time.h>
10#include <stdlib.h>
11#include <stdio.h>
12#include <unistd.h>
13#include <string.h>
14
15int main()
16{
17  time_t tnow;
18
19  time(&tnow); fprintf(stdout,"%s",ctime(&tnow));
20
21  exit (0);
22
23  while (1);
24}
Note: See TracBrowser for help on using the repository browser.