- Timestamp:
- Oct 13, 2006, 3:38:50 PM (17 years ago)
- Location:
- toilet/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
toilet/trunk/src/figlet.c
r1201 r1202 169 169 cx->lookup = NULL; 170 170 171 for(i = 0, size = 0; ! feof(f); cx->glyphs++)171 for(i = 0, size = 0; !toieof(f); cx->glyphs++) 172 172 { 173 173 if((cx->glyphs % 2048) == 0) -
toilet/trunk/src/io.c
r1201 r1202 44 44 } 45 45 46 int toieof(TOIFILE *toif) 47 { 48 return feof(toif->f); 49 } 50 46 51 char *toigets(char *s, int size, TOIFILE *toif) 47 52 { -
toilet/trunk/src/io.h
r1201 r1202 23 23 TOIFILE *toiopen(const char *, const char *); 24 24 int toiclose(TOIFILE *); 25 int toieof(TOIFILE *); 25 26 char *toigets(char *, int, TOIFILE *); 26 27
Note: See TracChangeset
for help on using the changeset viewer.