Changeset 1065


Ignore:
Timestamp:
Sep 19, 2006, 10:26:43 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Added an fprintf stub to the kernel.
Location:
libcaca/trunk/kernel
Files:
2 edited

Legend:

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

    r1053 r1065  
    233233}
    234234
     235int fprintf(FILE *stream, const char *format, ...)
     236{
     237    /* FIXME */
     238    return 0;
     239}
     240
    235241int sprintf(char *str, const char *format, ...)
    236242{
  • libcaca/trunk/kernel/kernel.h

    r1053 r1065  
    7777void exit(int status);
    7878void srand(unsigned int s);
    79 int stdint;
    80 int stdout;
    81 int stderr;
     79FILE *stdin, *stdout, *stderr;
    8280
    8381/* string.h functions */
     
    10199int fclose(FILE *fp);
    102100int printf(const char *format, ...);
     101int fprintf(FILE *stream, const char *format, ...);
    103102int sprintf(char *str, const char *format, ...);
    104103int sscanf(const char *str, const char *format, ...);
Note: See TracChangeset for help on using the changeset viewer.