#include <stdio.h>#include <string.h>#include <sys/types.h>#include <sys/ipc.h>#include <sys/shm.h>#include <sys/sem.h>#include <sys/stat.h>#include <unistd.h>#include "bbcpri.h"Classes | |
| union | semun |
Defines | |
| #define | BARSIZE 50 |
| #define | SHMKEY 17001 |
| #define | SEMKEY 18001 |
Functions | |
| void | semaphore_p (void) |
| void | semaphore_v (void) |
| void | init_getdata__ () |
| void | close_getdata (void) |
| void | open_rawdat__ (char name[132], int *fnamelen, int *flag) |
| void | close_rawdat__ (void) |
| void | statbar (void) |
| void | clstatbar (void) |
| int | get_buf (void) |
| void | get_block__ (short ret[4096], int *flag) |
Variables | |
| stat | filestat |
| double | filesize |
| int | blocksize |
| int | cstep |
| int | cnt |
| int | step |
| int | i |
| char | com |
| unsigned short | buf [4096] |
| FILE * | datafile |
| int | modeflag |
| int | shmid |
| int | semid |
| int | sb = 0 |
| unsigned int | blocknum |
| unsigned int | nblocknum |
| char * | shmp |
| semun | semunion |
| sembuf | semb |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1