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_while.c

    r3922 r7917  
    1111
    1212  if (argc != 2) {
    13     fprintf (stderr, "USAGE: while (condition)\n");
     13    gprint (GP_ERR, "USAGE: while (condition)\n");
    1414    return (FALSE);
    1515  }
     
    3838    if (input == (char *) NULL) {
    3939      if (ThisList == 0)  {
    40         fprintf (stderr, "end 'while' loop with 'END'\n");
     40        gprint (GP_ERR, "end 'while' loop with 'END'\n");
    4141        continue;
    4242      } else {
    43         fprintf (stderr, "misbalanced 'while' loop\n");
     43        gprint (GP_ERR, "misbalanced 'while' loop\n");
    4444        for (j = 0; j < loop.Nlines; j++) {
    4545          free (loop.line[j]);
Note: See TracChangeset for help on using the changeset viewer.