Changeset 3693
- Timestamp:
- Apr 11, 2005, 10:37:51 AM (21 years ago)
- Location:
- trunk/Ohana/src/opihi
- Files:
-
- 20 edited
-
cmd.astro/gauss.c (modified) (2 diffs)
-
cmd.astro/objload.c (modified) (3 diffs)
-
cmd.astro/outline.c (modified) (3 diffs)
-
cmd.astro/outline2.c (modified) (3 diffs)
-
cmd.data/center.c (modified) (1 diff)
-
cmd.data/erase.c (modified) (2 diffs)
-
cmd.data/jpeg.c (modified) (1 diff)
-
cmd.data/load.c (modified) (3 diffs)
-
cmd.data/point.c (modified) (2 diffs)
-
cmd.data/ps.c (modified) (1 diff)
-
cmd.data/save.c (modified) (1 diff)
-
cmd.data/tv.c (modified) (1 diff)
-
cmd.data/tvcontour.c (modified) (4 diffs)
-
cmd.data/tvgrid.c (modified) (5 diffs)
-
cmd.data/vcontour.c (modified) (3 diffs)
-
cmd.data/vload.c (modified) (4 diffs)
-
dvo/cmpload.c (modified) (4 diffs)
-
lib.data/graphtools.c (modified) (1 diff)
-
lib.data/open_graph.c (modified) (1 diff)
-
lib.data/open_image.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/gauss.c
r2843 r3693 51 51 52 52 fcntl (Ximage, F_SETFL, !O_NONBLOCK); 53 write (Ximage, "CURS", 4); /* ask Ximage to look for the keystrokes */53 SendGraphCommand (Ximage, 4, "CURS"); 54 54 55 55 for (i = 0; (i < Nspot) || (Nspot == 0); i++) { … … 64 64 65 65 } 66 write (Ximage, "NCUR", 4); /* tell Ximage "end of keystrokes" */ 66 SendGraphCommand (Ximage, 4, "NCUR"); 67 67 68 return (TRUE); 68 69 } -
trunk/Ohana/src/opihi/cmd.astro/objload.c
r3462 r3693 66 66 free (buffer); 67 67 68 write (Ximage, "LOAD", 4); /* force Ximage to look for the incoming image */ 69 sprintf (line, "OVER %9d ", n); 70 write (Ximage, line, 16); 68 SendGraphCommand (Ximage, 4, "LOAD"); 69 SendGraphCommand (Ximage, 16, "OVER %9d ", n); 71 70 71 /** NOTE: modify to use NBYTE **/ 72 72 ALLOCATE (buffer, char, 66000); 73 73 bzero (buffer, 65536); … … 75 75 snprintf (&buffer[Nout*128], 129, "%15s %20.10f %20.10f %20.10f %20.10f ", "BOX", X[i], Y[i], 5.0, 5.0); 76 76 if (Nout == 512) { 77 sprintf (line, "NLINES %7d ", Nout); 78 write (Ximage, line, 16); 77 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nout); 79 78 write (Ximage, buffer, Nout*128); 80 79 bzero (buffer, 65536); … … 84 83 85 84 if (Nout) { 86 sprintf (line, "NLINES %7d ", Nout); 87 write (Ximage, line, 16); 85 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nout); 88 86 write (Ximage, buffer, Nout*128); 89 87 } 90 sprintf (line, "DONE "); 91 write (Ximage, line, 16); 88 SendGraphCommand (Ximage, 16, "DONE"); 92 89 93 90 free (X); -
trunk/Ohana/src/opihi/cmd.astro/outline.c
r2598 r3693 158 158 Nline = 0; 159 159 160 write (Ximage, "LOAD", 4); /* force Ximage to look for the incoming image */ 161 sprintf (line, "OVER %9d ", 0); 162 write (Ximage, line, 16); 160 SendGraphCommand (Ximage, 4, "LOAD"); 161 SendGraphCommand (Ximage, 16, "OVER %9d ", 0); 163 162 164 163 dx = par[2]; … … 178 177 179 178 if (Nline >= 510) { 180 sprintf (line, "NLINES %7d ", Nline); 181 write (Ximage, line, 16); 179 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 182 180 write (Ximage, buffer, Nline*128); 183 181 bzero (buffer, 65536); … … 185 183 } 186 184 } 187 188 sprintf (line, "NLINES %7d ", Nline); 189 write (Ximage, line, 16); 185 186 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 190 187 write (Ximage, buffer, Nline*128); 191 sprintf (line, "DONE");192 write (Ximage, line, 16); 188 SendGraphCommand (Ximage, 16, "DONE"); 189 193 190 free (buffer); 194 191 free (line); -
trunk/Ohana/src/opihi/cmd.astro/outline2.c
r2843 r3693 316 316 Nline = 0; 317 317 318 write (Ximage, "LOAD", 4); /* force Ximage to look for the incoming image */ 319 sprintf (line, "OVER %9d ", 0); 320 write (Ximage, line, 16); 318 SendGraphCommand (Ximage, 4, "LOAD"); 319 SendGraphCommand (Ximage, 16, "OVER %9d ", 0); 321 320 322 321 dx = par[2]; … … 336 335 337 336 if (Nline >= 510) { 338 sprintf (line, "NLINES %7d ", Nline); 339 write (Ximage, line, 16); 337 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 340 338 write (Ximage, buffer, Nline*128); 341 339 bzero (buffer, 65536); … … 344 342 } 345 343 346 sprintf (line, "NLINES %7d ", Nline); 347 write (Ximage, line, 16); 344 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 348 345 write (Ximage, buffer, Nline*128); 349 sprintf (line, "DONE");350 write (Ximage, line, 16); 346 SendGraphCommand (Ximage, 16, "DONE"); 347 351 348 free (buffer); 352 349 free (line); -
trunk/Ohana/src/opihi/cmd.data/center.c
r2843 r3693 28 28 } 29 29 30 write (Ximage, "CENT", 4); /* tell Ximage to look for the incoming image */ 31 32 sprintf (buffer, "%8.3f %8.3f %8d ", x, y, zoom); 33 sprintf (buffer2, "NBYTES %8d ", strlen (buffer)); 34 write (Ximage, buffer2, 16); 35 write (Ximage, buffer, strlen (buffer)); 36 30 SendGraphCommand (Ximage, 4, "CENT"); 31 SendGraphMessage (Ximage, "%8.3f %8.3f %8d ", x, y, zoom); 37 32 return (TRUE); 38 39 33 } -
trunk/Ohana/src/opihi/cmd.data/erase.c
r2843 r3693 31 31 if (!(strcmp (argv[i], "all"))) { 32 32 for (n = 0; n < 4; n++) { 33 write (Ximage, "ERAS", 4); /* force Ximage to look for the incoming image */ 34 sprintf (buffer, "OVERLAY %7d ", n); 35 write (Ximage, buffer, 16); 33 SendGraphCommand (Ximage, 4, "ERAS"); 34 SendGraphCommand (Ximage, 16, "OVERLAY %7d ", n); 36 35 } 37 36 return (TRUE); … … 44 43 if (!(strcmp (argv[i], "tick"))) n = 4; 45 44 46 write (Ximage, "ERAS", 4); /* force Ximage to look for the incoming image */ 47 sprintf (buffer, "OVERLAY %7d ", n); 48 write (Ximage, buffer, 16); 45 SendGraphCommand (Ximage, 4, "ERAS"); 46 SendGraphCommand (Ximage, 16, "OVERLAY %7d ", n); 49 47 } 50 51 48 return (TRUE); 52 53 49 } -
trunk/Ohana/src/opihi/cmd.data/jpeg.c
r2843 r3693 51 51 } 52 52 53 strcpy (buffer, type); 54 write (Source, buffer, 4); 55 sprintf (buffer, "LEN: %11d", strlen(filename)); 56 write (Source, buffer, 16); 53 SendGraphCommand (Source, 4, type); 54 SendGraphCommand (Source, 16, "LEN: %11d", strlen(filename)); 57 55 write (Source, filename, strlen(filename)); 58 56 read (Source, buffer, 4); -
trunk/Ohana/src/opihi/cmd.data/load.c
r2843 r3693 55 55 Nline = 0; 56 56 57 write (Ximage, "LOAD", 4); /* force Ximage to look for the incoming image */ 58 sprintf (line, "OVER %9d ", n); 59 write (Ximage, line, 16); 57 SendGraphCommand (Ximage, 4, "LOAD"); 58 SendGraphCommand (Ximage, 16, "OVER %9d ", n); 60 59 61 60 for (n = 0; scan_line (f, line) != EOF;) { … … 123 122 Nline ++; 124 123 if (Nline == 512) { 125 sprintf (line, "NLINES %7d ", Nline); 126 write (Ximage, line, 16); 124 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 127 125 write (Ximage, buffer, Nline*128); 128 126 bzero (buffer, 65536); … … 131 129 } 132 130 133 sprintf (line, "NLINES %7d ", Nline); 134 write (Ximage, line, 16); 131 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 135 132 write (Ximage, buffer, Nline*128); 136 sprintf (line, "DONE "); 137 write (Ximage, line, 16); 133 SendGraphCommand (Ximage, 16, "DONE"); 138 134 139 135 free (buffer); -
trunk/Ohana/src/opihi/cmd.data/point.c
r2843 r3693 44 44 } 45 45 46 ALLOCATE (line, char, 1024); /* space to read the file */47 48 46 ra = atof(argv[3]); 49 47 dec = atof(argv[4]); … … 70 68 } 71 69 72 write (Ximage, "LOAD", 4); /* force Ximage to look for the incoming image */ 73 sprintf (line, "OVERLAY %6d ", n); 74 write (Ximage, line, 16); 75 sprintf (line, "NLINES %7d ", 1); 76 write (Ximage, line, 16); 77 sprintf (line, "%15s %20.10f %20.10f %20.10f %20.10f ", argv[2], x, y, dx, dy); 78 write (Ximage, line, 128); 79 sprintf (line, "DONE "); 80 write (Ximage, line, 16); 81 82 free (line); 83 70 SendGraphCommand (Ximage, 4, "LOAD"); 71 SendGraphCommand (Ximage, 16, "OVERLAY %6d ", n); 72 SendGraphCommand (Ximage, 16, "NLINES %7d ", 1); 73 SendGraphCommand (Ximage, 128, "%15s %20.10f %20.10f %20.10f %20.10f ", argv[2], x, y, dx, dy); 74 SendGraphCommand (Ximage, 16, "DONE"); 84 75 return (TRUE); 85 86 76 } 87 77 -
trunk/Ohana/src/opihi/cmd.data/ps.c
r3692 r3693 60 60 if (!RawImage && !NoScale) SendGraphCommand (Source, 4, "PSIT"); 61 61 62 /* I need to fix kapa and kii to read NBYTES, etc like other messages 63 SendGraphMessage (Source, "%s", filename); */ 64 65 sprintf (buffer, "LEN: %11d", strlen(filename)); 66 write (Source, buffer, 16); 62 /* I need to fix kapa and kii to read NBYTES, etc like other messages */ 63 SendGraphCommand (Source, 16, "LEN: %11d", strlen(filename)); 67 64 write (Source, filename, strlen(filename)); 68 65 read (Source, buffer, 4); -
trunk/Ohana/src/opihi/cmd.data/save.c
r2843 r3693 27 27 } 28 28 29 if (!SelectOverlay (argv[1], &n)) 30 return (FALSE); 31 32 sprintf (buffer, "FILE: %d %s", n, argv[2]); 33 sprintf (buffer2, "NBYTES: %8d", strlen(buffer)); 29 if (!SelectOverlay (argv[1], &n)) return (FALSE); 34 30 35 31 if (ISCEL) 36 write (Ximage, "CSVE", 4); /* force Ximage to look for the incoming image */32 SendGraphCommand (Ximage, 4, "CSVE"); 37 33 else 38 write (Ximage, "SAVE", 4); /* force Ximage to look for the incoming image */ 39 write (Ximage, buffer2, 16); 40 write (Ximage, buffer, strlen(buffer)); 41 34 SendGraphCommand (Ximage, 4, "SAVE"); 35 36 SendGraphMessage (Ximage, "FILE: %d %s", n, argv[2]); 42 37 return (TRUE); 43 44 38 } -
trunk/Ohana/src/opihi/cmd.data/tv.c
r3692 r3693 88 88 root = filerootname (buf[0].file); 89 89 SendGraphMessage (Ximage, "%s %s %s ", coords.ctype, root, buf[0].name); 90 91 90 write (Ximage, outbuffer, size); 92 91 free (outbuffer); -
trunk/Ohana/src/opihi/cmd.data/tvcontour.c
r2843 r3693 45 45 Nline ++; \ 46 46 if (Nline == 512) { \ 47 sprintf (line, "NLINES %7d ", Nline); \ 48 write (Ximage, line, 16); \ 47 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); \ 49 48 write (Ximage, buffer, Nline*128); \ 50 49 bzero (buffer, 65536); \ … … 57 56 Nline ++; \ 58 57 if (Nline == 512) { \ 59 sprintf (line, "NLINES %7d ", Nline); \ 60 write (Ximage, line, 16); \ 58 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); \ 61 59 write (Ximage, buffer, Nline*128); \ 62 60 bzero (buffer, 65536); \ … … 123 121 } 124 122 125 write (Ximage, "LOAD", 4); /* force Ximage to look for the incoming image */ 126 sprintf (line, "OVERLAY %7d ", n); 127 write (Ximage, line, 16); 123 SendGraphCommand (Ximage, 4, "LOAD"); /* force Ximage to look for the incoming image */ 124 SendGraphCommand (Ximage, 16, "OVERLAY %7d ", n); 128 125 ALLOCATE (buffer, char, 65536); /* space for 512 lines of 128 bytes */ 129 126 bzero (buffer, 65536); … … 282 279 283 280 if (Nline > 0) { 284 sprintf (line, "NLINES %7d ", Nline); 285 write (Ximage, line, 16); 281 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 286 282 write (Ximage, buffer, Nline*128); 287 283 } 288 284 289 285 free (buffer); 290 sprintf (line, "DONE "); 291 write (Ximage, line, 16); 292 if (Npix != 1) { 293 free (matrix); 294 } 286 SendGraphCommand (Ximage, 16, "DONE"); 287 288 if (Npix != 1) free (matrix); 295 289 fprintf (stderr, "\n"); 296 290 return (TRUE); -
trunk/Ohana/src/opihi/cmd.data/tvgrid.c
r2843 r3693 51 51 52 52 /* tell KII to expect overlay data */ 53 write (Ximage, "LOAD", 4); 54 sprintf (buffer, "OVERLAY: %7d", ncolor); 55 write (Ximage, buffer, 16); 53 SendGraphCommand (Ximage, 4, "LOAD"); 54 SendGraphCommand (Ximage, 16, "OVERLAY: %7d", ncolor); 56 55 57 56 dDEC = fabs(dec1 - dec0); … … 84 83 NY = buf[0].header.Naxis[1]; 85 84 86 /* find starting position87 RD_to_XY (&x0, &y0, MIN(ra0, ra1), dec + 0.1*dDEC, &coords);88 sprintf (label, format, dec);89 sprintf (buffer, "%15s %20.10f %20.10f %20.10f %20.10f ", "TEXT", x0, y0, (double)(strlen(label) + 1), 0.0);90 write (Ximage, buffer, 128);91 write (Ximage, label, strlen(label) + 1); */92 93 85 dRA = MAX (fabs(ra1 - ra0) / 100.0, 0.1); 94 86 connect = FALSE; … … 97 89 RD_to_XY (&x1, &y1, ra, dec, &coords); 98 90 if ((x1 >= 0) && (x1 < NX) && (y1 >= 0) && (y1 < NY)) { 99 if (connect) { 100 sprintf (buffer, "%15s %20.10f %20.10f %20.10f %20.10f ", "LINE", x0, y0, (x1 - x0), (y1 - y0)); 101 write (Ximage, buffer, 128); 102 } 91 if (connect) SendGraphCommand (Ximage, 128, "%15s %20.10f %20.10f %20.10f %20.10f ", "LINE", x0, y0, (x1 - x0), (y1 - y0)); 103 92 x0 = x1; 104 93 y0 = y1; 105 94 connect = TRUE; 106 } 107 else { 95 } else { 108 96 connect = FALSE; 109 97 } … … 143 131 RD_to_XY (&x1, &y1, ra, dec, &coords); 144 132 if ((x1 >= 0) && (x1 < NX) && (y1 >= 0) && (y1 < NY)) { 145 if (connect) { 146 sprintf (buffer, "%15s %20.10f %20.10f %20.10f %20.10f ", "LINE", x0, y0, (x1 - x0), (y1 - y0)); 147 write (Ximage, buffer, 128); 148 } 133 if (connect) SendGraphCommand (Ximage, 128, "%15s %20.10f %20.10f %20.10f %20.10f ", "LINE", x0, y0, (x1 - x0), (y1 - y0)); 149 134 x0 = x1; 150 135 y0 = y1; 151 136 connect = TRUE; 152 } 153 else { 137 } else { 154 138 connect = FALSE; 155 139 } … … 176 160 */ 177 161 178 sprintf (buffer, "DONE"); 179 write (Ximage, buffer, 128); 162 SendGraphCommand (Ximage, 128, "DONE"); 180 163 return (TRUE); 181 164 } 182 183 184 185 165 186 166 /* -
trunk/Ohana/src/opihi/cmd.data/vcontour.c
r2598 r3693 45 45 Nline ++; \ 46 46 if (Nline == 512) { \ 47 sprintf (line, "NLINES %7d \0", Nline); \ 48 write (Ximage, line, 16); \ 47 SendGraphCommand (Ximage, 16, "NLINES %7d \0", Nline); \ 49 48 write (Ximage, buffer, Nline*128); \ 50 49 bzero (buffer, 65536); \ … … 57 56 Nline ++; \ 58 57 if (Nline == 512) { \ 59 sprintf (line, "NLINES %7d \0", Nline); \ 60 write (Ximage, line, 16); \ 58 SendGraphCommand (Ximage, 16, "NLINES %7d \0", Nline); \ 61 59 write (Ximage, buffer, Nline*128); \ 62 60 bzero (buffer, 65536); \ … … 263 261 264 262 if (Nline > 0) { 265 sprintf (line, "NLINES %7d \0", Nline); 266 write (Ximage, line, 16); 263 SendGraphCommand (Ximage, 16, "NLINES %7d \0", Nline); 267 264 write (Ximage, buffer, Nline*128); 268 265 } 269 266 270 267 free (buffer); 271 sprintf (line, "DONE \0"); 272 write (Ximage, line, 16); 273 if (Npix != 1) { 274 free (matrix); 275 } 268 SendGraphCommand (Ximage, 16, "DONE"); 269 if (Npix != 1) free (matrix); 276 270 fprintf (stderr, "\n"); 277 271 } -
trunk/Ohana/src/opihi/cmd.data/vload.c
r2843 r3693 6 6 int Ximage, Nimage; 7 7 double dx, dy; 8 char *buffer , *line;8 char *buffer; 9 9 Vector *vecx, *vecy; 10 10 … … 33 33 ALLOCATE (buffer, char, 65536); /* space for 512 lines of 128 bytes */ 34 34 bzero (buffer, 65536); 35 ALLOCATE (line, char, 1024); /* space to read the file */36 35 Nline = 0; 37 36 38 write (Ximage, "LOAD", 4); /* force Ximage to look for the incoming image */ 39 sprintf (line, "OVER %9d ", n); 40 write (Ximage, line, 16); 41 37 SendGraphCommand (Ximage, 4, "LOAD"); 38 SendGraphCommand (Ximage, 16, "OVER %9d ", n); 39 42 40 dx = dy = 1.0; 43 44 41 for (i = 0; i < vecx[0].Nelements; i++) { 45 42 snprintf (&buffer[Nline*128], 128, "%15s %20.10f %20.10f %20.10f %20.10f ", "BOX", … … 47 44 Nline ++; 48 45 if (Nline == 512) { 49 sprintf (line, "NLINES %7d ", Nline); 50 write (Ximage, line, 16); 46 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 51 47 write (Ximage, buffer, Nline*128); 52 48 bzero (buffer, 65536); … … 55 51 } 56 52 57 sprintf (line, "NLINES %7d ", Nline); 58 write (Ximage, line, 16); 53 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nline); 59 54 write (Ximage, buffer, Nline*128); 60 sprintf (line, "DONE "); 61 write (Ximage, line, 16); 55 SendGraphCommand (Ximage, 16, "DONE"); 62 56 63 57 free (buffer); 64 free (line);65 58 fprintf (stderr, "loaded %d objects\n", n); 66 59 -
trunk/Ohana/src/opihi/dvo/cmpload.c
r3462 r3693 12 12 double dtmp; 13 13 FILE *f; 14 char *buffer, *buffer2, *line; 14 char *buffer, *buffer2; 15 int Ximage, Nimage; 15 16 Header header; 16 int Ximage, Nimage;17 17 18 18 Nimage = -1; … … 121 121 fclose (f); 122 122 123 ALLOCATE (line, char, 129); 124 write (Ximage, "LOAD", 4); /* force Ximage to look for the incoming image */ 125 sprintf (line, "OVER %9d ", n); 126 write (Ximage, line, 16); 127 123 SendGraphCommand (Ximage, 4, "LOAD"); 124 SendGraphCommand (Ximage, 16, "OVER %9d ", n); 128 125 ALLOCATE (buffer2, char, 66000); 129 126 bzero (buffer2, 65536); 127 130 128 for (Nout = i = 0; i < Nin; i++, Nout++) { 131 129 sprintf (&buffer2[Nout*128], "%15s %20.10f %20.10f %20.10f %20.10f ", "BOX", X[i], Y[i], 5.0, 5.0); 132 130 if (Nout == 512) { 133 sprintf (line, "NLINES %7d ", Nout); 134 write (Ximage, line, 16); 131 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nout); 135 132 write (Ximage, buffer2, Nout*128); 136 133 bzero (buffer2, 65536); … … 140 137 141 138 if (Nout) { 142 sprintf (line, "NLINES %7d ", Nout); 143 write (Ximage, line, 16); 139 SendGraphCommand (Ximage, 16, "NLINES %7d ", Nout); 144 140 write (Ximage, buffer2, Nout*128); 145 141 } 146 sprintf (line, "DONE "); 147 write (Ximage, line, 16); 142 SendGraphCommand (Ximage, 16, "DONE"); 148 143 149 144 fits_free_header (&header); … … 152 147 free (M); 153 148 free (buffer); 154 /* */155 156 149 free (buffer2); 157 free (line);158 150 159 151 fprintf (stderr, "loaded %d objects\n", Nin); -
trunk/Ohana/src/opihi/lib.data/graphtools.c
r2774 r3693 47 47 if (!apply) return; 48 48 49 write (Xgraph, "SLIM", 4); 50 sprintf (buffer, "%g %g %g %g ", graphmode[0].xmin, graphmode[0].xmax, graphmode[0].ymin, graphmode[0].ymax); 51 sprintf (buffer2, "NBYTES: %6d ", strlen (buffer)); 52 write (Xgraph, buffer2, 16); 53 write (Xgraph, buffer, strlen (buffer)); 49 SendGraphCommand (Xgraph, 4, "SLIM"); 50 SendGraphMessage (Xgraph, "%g %g %g %g ", graphmode[0].xmin, graphmode[0].xmax, graphmode[0].ymin, graphmode[0].ymax); 54 51 } 55 -
trunk/Ohana/src/opihi/lib.data/open_graph.c
r3692 r3693 294 294 memset (string, 0, length + 1); 295 295 vsnprintf (string, length + 1, format, argp); 296 296 297 /* fprintf (stderr, "msg: %s\n", string); */ 297 298 write (device, string, length); -
trunk/Ohana/src/opihi/lib.data/open_image.c
r2598 r3693 19 19 for (i = 0; i < NXIMAGE; i++) { 20 20 if (Ximage[i] > 0) { 21 write (Ximage[i], "QUIT", 4);21 SendGraphCommand (Ximage[i], 4, "QUIT"); 22 22 } 23 23 }
Note:
See TracChangeset
for help on using the changeset viewer.
