source: toilet/trunk/src/io.h @ 1202

Last change on this file since 1202 was 1202, checked in by Sam Hocevar, 14 years ago
  • Add feof() to the list of I/O functions.
  • Property svn:keywords set to Id
File size: 665 bytes
Line 
1/*
2 *  TOIlet        The Other Implementation’s letters
3 *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
4 *                All Rights Reserved
5 *
6 *  $Id: io.h 1202 2006-10-13 13:38:50Z sam $
7 *
8 *  This program is free software; you can redistribute it and/or
9 *  modify it under the terms of the Do What The Fuck You Want To
10 *  Public License, Version 2, as published by Sam Hocevar. See
11 *  http://sam.zoy.org/wtfpl/COPYING for more details.
12 */
13
14/*
15 * This header defines functions for compressed file I/O.
16 */
17typedef struct toifile
18{
19    FILE *f;
20}
21TOIFILE;
22
23TOIFILE *toiopen(const char *, const char *);
24int toiclose(TOIFILE *);
25int toieof(TOIFILE *);
26char *toigets(char *, int, TOIFILE *);
27
Note: See TracBrowser for help on using the repository browser.