Changeset ff381a7 in mainline for uspace/lib/c/generic/private/stdio.h


Ignore:
Timestamp:
2015-11-02T20:54:19Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8513177
Parents:
3feeab2 (diff), 5265eea4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    r3feeab2 rff381a7  
    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.