Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/stdio.h

    rfacebd56 rc62d2e1  
    7575};
    7676
    77 enum _buffer_state {
    78         /** Buffer is empty */
    79         _bs_empty,
    80 
    81         /** Buffer contains data to be written */
    82         _bs_write,
    83 
    84         /** Buffer contains prefetched data for reading */
    85         _bs_read
    86 };
    87 
    8877typedef struct {
    8978        /** Linked list pointer. */
     
    10594        int phone;
    10695
    107         /**
    108          * Non-zero if the stream needs sync on fflush(). XXX change
    109          * console semantics so that sync is not needed.
    110          */
    111         int need_sync;
    112 
    11396        /** Buffering type */
    11497        enum _buffer_type btype;
    115 
    11698        /** Buffer */
    11799        uint8_t *buf;
    118 
    119100        /** Buffer size */
    120101        size_t buf_size;
    121 
    122         /** Buffer state */
    123         enum _buffer_state buf_state;
    124 
    125102        /** Buffer I/O pointer */
    126103        uint8_t *buf_head;
    127 
    128         /** Points to end of occupied space when in read mode. */
    129         uint8_t *buf_tail;
    130104} FILE;
    131105
Note: See TracChangeset for help on using the changeset viewer.