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

    r2843 r7917  
    1616
    1717  if (argc != 4) {
    18     fprintf (stderr, "USAGE: shift <buffer> dx dy\n");
     18    gprint (GP_ERR, "USAGE: shift <buffer> dx dy\n");
    1919    return (FALSE);
    2020  }
     
    3636
    3737  if ((dx > buf[0].matrix.Naxis[0]) || (dy > buf[0].matrix.Naxis[1])) {
    38     fprintf (stderr, "shifting data out of image\n");
     38    gprint (GP_ERR, "shifting data out of image\n");
    3939    return (FALSE);
    4040  }
     
    9191  }
    9292
    93   fprintf (stderr, "%f %f\n", fdx, fdy);
     93  gprint (GP_ERR, "%f %f\n", fdx, fdy);
    9494  if ((fdx > 0) || (fdy > 0)) {
    9595    double f00, f01, f10, f11;
Note: See TracChangeset for help on using the changeset viewer.