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/dvo/pcat.c

    r7680 r7917  
    3030  }
    3131  if (argc != 1) {
    32     fprintf (stderr, "USAGE: pcat [-all]\n");
     32    gprint (GP_ERR, "USAGE: pcat [-all]\n");
    3333    return (FALSE);
    3434  }
     
    5151    sprintf (filename, "%s/%s", catdir, regions[i].name);
    5252    if (ShowAll || (stat (filename, &filestat) != -1)) {
    53       if (VERBOSE) fprintf (stderr, "%3d %s\n", i, regions[i].name);
     53      if (VERBOSE) gprint (GP_ERR, "%3d %s\n", i, regions[i].name);
    5454
    5555      leftside = -1;
     
    7878  }
    7979
    80   fprintf (stderr, "plotting %d catalogs\n", Npts/8);
     80  gprint (GP_ERR, "plotting %d catalogs\n", Npts/8);
    8181  Xvec.Nelements = Xvec.Nelements = Npts;
    8282  if (Npts > 0) {
Note: See TracChangeset for help on using the changeset viewer.