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/integrate.c

    r2843 r7917  
    1515
    1616  if (argc != 5) {
    17     fprintf (stderr, "USAGE: integrate <x> <y> start end\n");
     17    gprint (GP_ERR, "USAGE: integrate <x> <y> start end\n");
    1818    return (FALSE);
    1919  }
     
    3939  set_variable ("sum", value);
    4040  set_variable ("range", range);
    41   if (VERBOSE) fprintf (GetOutfile(), "sum: %f\n", value);
     41  if (VERBOSE) gprint (GP_LOG, "sum: %f\n", value);
    4242  return (TRUE);
    4343}
Note: See TracChangeset for help on using the changeset viewer.