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

Contents of /calo/unpacking/lundata.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
Imported sources

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

  ViewVC Help
Powered by ViewVC 1.1.23