/[PAMELA software]/yoda/techmodel/forroutines/tracker/readraw/skipbyte.c
ViewVC logotype

Contents of /yoda/techmodel/forroutines/tracker/readraw/skipbyte.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4.4 - (show annotations) (download)
Sat May 28 10:44:12 2005 UTC (19 years, 6 months ago) by kusanagi
Branch: MAIN
Changes since 4.0: +0 -0 lines
File MIME type: text/plain
Main features of this release are:
- updated classes documentations;
- major changes on the calibration fortran routine for the calorimeter
- update on the TMTC thermistors
- removed old classes as CalibTrkBoth and CalibTrd

1 /*
2 * include needed system headers
3 */
4 #include <stdio.h> /* include standard i/o library */
5 #include <stdlib.h> /* include standard library */
6 #include <string.h> /* include string library */
7 #include <unistd.h> /* include unix standard library */
8 #include <sys/types.h> /* */
9 #include <sys/stat.h> /* */
10 #include <fcntl.h> /* */
11 #include <errno.h> /* error simbol definitions */
12 #include <time.h> /* system time definitions */
13 #include <math.h> /* math library */
14
15 void skipbyte_(int *fd)
16
17 {
18 int nhead;
19
20 nhead = 13;
21
22 /*** goes back 13 words, then half 16 bit word ahead ***/
23
24 lseek(*fd, -2*nhead, SEEK_CUR); //SEEK_CUR ---> from current position
25
26 lseek(*fd, 1, SEEK_CUR);
27
28 }

  ViewVC Help
Powered by ViewVC 1.1.23