MIDAS
Loading...
Searching...
No Matches
camac_init.cxx File Reference
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include "mcstd.h"
Include dependency graph for camac_init.cxx:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 14 of file camac_init.cxx.

15{
16 int status;
17
18 status = cam_init();
19 if (status != 1) {
20 printf("Error: Cannot initialize camac: cam_init status %d\n", status);
21 return 1;
22 }
23
24 printf("cam_init() status %d\n", status);
25
26 return 0;
27}
EXTERNAL int EXPRT cam_init(void)
DWORD status
Definition odbhist.cxx:39
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
Definition rmidas.h:24
Here is the call graph for this function: