/[PAMELA software]/calo/unpacking/hello.c
ViewVC logotype

Contents of /calo/unpacking/hello.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Mon Dec 5 16:23:22 2005 UTC (19 years ago) by mocchiut
Branch: MAIN, unpacking
CVS Tags: start, v1r00, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Error occurred while calculating annotation data.
Imported sources

1 #include <stdlib.h>
2 #include <stdio.h>
3
4
5
6 int main(){
7
8
9 long dataLength;
10 int ERROR;
11
12 FILE *pFile;
13 pFile = fopen("DWTemp.dat", "r");
14
15 if (pFile==NULL) exit (1);
16
17 // obtain file size.
18 fseek (pFile , 0 , SEEK_END);
19 dataLength = ftell (pFile);
20 rewind (pFile);
21 fclose (pFile);
22 return 0;
23 }

  ViewVC Help
Powered by ViewVC 1.1.23