home *** CD-ROM | disk | FTP | other *** search
/ The UNIX CD Bookshelf / OREILLY_TUCB_UNIX_CD.iso / upt / examples / SOURCES / TWIN / TWIN. / iblank.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-07-24  |  396 b   |  18 lines

  1. /* iblank.c */
  2. /********************************************
  3. * clear with spaces between boundaries
  4. * Istvan Mohos, 1987 --- in the Public Domain
  5. ********************************************/
  6.  
  7. #include "i.h"
  8.  
  9. void
  10. iblank (start, end)
  11. register char *start, *end;
  12. {
  13.     register char *off;
  14.  
  15.     /* end is one byte past the rightmost byte cleared */
  16.     for(off = start; off < end; *off++ = ' ');
  17. }
  18.