Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/private/stdio.h

    r6fa9a99d rbd5414e  
    3939#include <stdio.h>
    4040#include <async.h>
     41
     42/** Maximum characters that can be pushed back by ungetc() */
     43#define UNGETC_MAX 1
    4144
    4245struct _IO_FILE {
     
    8285        /** Points to end of occupied space when in read mode. */
    8386        uint8_t *buf_tail;
     87
     88        /** Pushed back characters */
     89        uint8_t ungetc_buf[UNGETC_MAX];
     90
     91        /** Number of pushed back characters */
     92        int ungetc_chars;
    8493};
    8594
Note: See TracChangeset for help on using the changeset viewer.