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

Annotation of /calo/unpacking/lundata.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Dec 5 16:23:22 2005 UTC (19 years ago) by mocchiut
Branch point for: MAIN, unpacking
File MIME type: text/plain
Initial revision

1 mocchiut 1.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