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.astro/czplot.c

    r7080 r7917  
    1212
    1313  if (argc != 6) {
    14     fprintf (stderr, "USAGE: czplot <x> <y> <z> min max\n");
     14    gprint (GP_ERR, "USAGE: czplot <x> <y> <z> min max\n");
    1515    return (FALSE);
    1616  }
     
    2828
    2929  if (xvec[0].Nelements != yvec[0].Nelements) {
    30     fprintf (stderr, "vectors %s and %s not the same length\n", argv[1], argv[2]);
     30    gprint (GP_ERR, "vectors %s and %s not the same length\n", argv[1], argv[2]);
    3131    return (FALSE);
    3232  }
    3333  if (xvec[0].Nelements != zvec[0].Nelements) {
    34     fprintf (stderr, "vectors %s and %s not the same length\n", argv[1], argv[3]);
     34    gprint (GP_ERR, "vectors %s and %s not the same length\n", argv[1], argv[3]);
    3535    return (FALSE);
    3636  }
Note: See TracChangeset for help on using the changeset viewer.