Ignore:
Timestamp:
Aug 4, 2009, 1:19:34 AM (10 years ago)
Author:
Sam Hocevar
Message:

Add atexit() and EOF to the kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/kernel/kernel.h

    r2821 r3620  
    2121/* Various defines */
    2222#define NULL ((void *)0)
     23#define EOF (-1)
    2324#define BUFSIZ 4096
    2425#define RAND_MAX ((unsigned int)0x8000000)
     
    7879void exit(int status);
    7980void srand(unsigned int s);
     81int atexit(void (*function)(void));
    8082FILE *stdin, *stdout, *stderr;
    8183
Note: See TracChangeset for help on using the changeset viewer.