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

    r7080 r7917  
    1515 
    1616  if ((argc != 5) && (argc != 4)) {
    17     fprintf (stderr, "USAGE: create vector start end [delta]\n");
     17    gprint (GP_ERR, "USAGE: create vector start end [delta]\n");
    1818    return (FALSE);
    1919  }
     
    2626  if (argc == 5) delta = atof (argv[4]);
    2727  if ((start == end) || (delta == 0)) {
    28     fprintf (stderr, "error in value: %f to %f, %f\n", start, end, delta);
     28    gprint (GP_ERR, "error in value: %f to %f, %f\n", start, end, delta);
    2929    return (FALSE);
    3030  }
     
    5050
    5151  if (argc != 4) {
    52     fprintf (stderr, "USAGE: create -image buffer Nx Ny\n");
     52    gprint (GP_ERR, "USAGE: create -image buffer Nx Ny\n");
    5353    return (FALSE);
    5454  }
Note: See TracChangeset for help on using the changeset viewer.