IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 5, 2006, 6:55:37 PM (21 years ago)
Author:
eugene
Message:

split init into general and program init, cleaned up open_image, open_graph, and related

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.data/open_image.c

    r5846 r5919  
    11# include "display.h"
    2 
    32# define DEBUG 0
    43
     
    1110static double    Xzero[NXIMAGE];
    1211static double    Xrange[NXIMAGE];
    13 
    14 /* define a structure to carry the relevant image data, eqiv to GraphData? */
    1512
    1613void QuitImage () {
     
    3633}
    3734
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
    3853/* set SIGPIPE to this function to close cleanly */
    3954void XImageDead (int input) {
     
    4762
    4863  int fd;
    49   char *kii_exec;
     64  char *kii_exec, name[16];
    5065
    5166  kii_exec = get_variable ("KII");
     
    5570  }
    5671
    57   fd = KiiOpen (kii_exec, NULL);
     72  snprintf (name, 16, "[%d]", N);
     73  fd = KiiOpen (kii_exec, name);
    5874  free (kii_exec);
    5975
Note: See TracChangeset for help on using the changeset viewer.