IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2006, 10:58:49 PM (20 years ago)
Author:
eugene
Message:

major updates to use gprint for buffered / threaded printing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/peak.c

    r6642 r7917  
    1515
    1616  if ((argc != 5) && (argc != 3)) {
    17     fprintf (stderr, "USAGE: peak <x> <y> [start end]\n");
     17    gprint (GP_ERR, "USAGE: peak <x> <y> [start end]\n");
    1818    return (FALSE);
    1919  }
     
    5050  set_variable ("peaknum", imax);
    5151
    52   if (!QUIET) fprintf (GetOutfile(), "peak %f @ %f (%d)\n", ymax, xmax, imax);
     52  if (!QUIET) gprint (GP_LOG, "peak %f @ %f (%d)\n", ymax, xmax, imax);
    5353
    5454  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.