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

    r7680 r7917  
    2121  }
    2222  if (argc != 1) {
    23     fprintf (stderr, "USAGE: lcat [-all]\n");
     23    gprint (GP_ERR, "USAGE: lcat [-all]\n");
    2424    return (FALSE);
    2525  }
     
    3535    if (stat (skylist[0].filename[i], &filestat) == -1) exists = 'N';
    3636    if (ShowAll) {
    37       fprintf (stderr, "%3d %s  %c\n", i, skylist[0].regions[i][0].name, exists);
     37      gprint (GP_ERR, "%3d %s  %c\n", i, skylist[0].regions[i][0].name, exists);
    3838    } else {
    3939      if (exists == 'Y') {
    40         fprintf (stderr, "%3d %s\n", i, skylist[0].regions[i][0].name);
     40        gprint (GP_ERR, "%3d %s\n", i, skylist[0].regions[i][0].name);
    4141      }
    4242    }
Note: See TracChangeset for help on using the changeset viewer.