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.basic/run_for.c

    r3907 r7917  
    1212
    1313  if ((argc != 4) && (argc != 5)) {
    14     fprintf (stderr, "USAGE: for (var) (start) (stop) [delta] -- terminate with 'END'\n");
     14    gprint (GP_ERR, "USAGE: for (var) (start) (stop) [delta] -- terminate with 'END'\n");
    1515    return (FALSE);
    1616  }
     
    4040    if (input == (char *) NULL) {
    4141      if (ThisList == 0)  {
    42         fprintf (stderr, "end loop with 'END'\n");
     42        gprint (GP_ERR, "end loop with 'END'\n");
    4343        continue;
    4444      } else {
    45         fprintf (stderr, "misbalanced loop\n");
     45        gprint (GP_ERR, "misbalanced loop\n");
    4646        for (j = 0; j < loop.Nlines; j++) {
    4747          free (loop.line[j]);
Note: See TracChangeset for help on using the changeset viewer.