Ignore:
File:
1 edited

Legend:

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

    r01cc7b4 ra35b458  
    3939#include <stdio.h>
    4040#include <async.h>
    41 #include <stddef.h>
    4241
    4342/** Maximum characters that can be pushed back by ungetc() */
    4443#define UNGETC_MAX 1
    45 
    46 /** Stream operations */
    47 typedef struct {
    48         /** Read from stream */
    49         size_t (*read)(void *buf, size_t size, size_t nmemb, FILE *stream);
    50         /** Write to stream */
    51         size_t (*write)(const void *buf, size_t size, size_t nmemb,
    52             FILE *stream);
    53         /** Flush stream */
    54         int (*flush)(FILE *stream);
    55 } __stream_ops_t;
    5644
    5745struct _IO_FILE {
     
    5947        link_t link;
    6048
    61         /** Stream operations */
    62         __stream_ops_t *ops;
    63 
    6449        /** Underlying file descriptor. */
    6550        int fd;
    66 
    67         /** Instance argument */
    68         void *arg;
    6951
    7052        /** File position. */
     
    7658        /** End-of-file indicator. */
    7759        int eof;
     60
     61        /** KIO indicator */
     62        int kio;
    7863
    7964        /** Session to the file provider */
Note: See TracChangeset for help on using the changeset viewer.