Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5496 leency 1
#ifndef __BITS_STDIO_H
2
#define __BITS_STDIO_H
3
 
4
struct file_stream_ops {
5
 int (* s_putc)(struct __FILE *,int);
6
 int (* s_getc)(struct __FILE *,int *);
7
 int (* s_read)(struct __FILE *,void *,int);
8
 int (* s_write)(struct __FILE *,void *,int);
9
 int (* s_seek)(struct __FILE *,int,int);
10
 int (* s_flush)(struct __FILE *);
11
};
12
 
13
#define STM_OP(x,n) \
14
    (x)->std_ops->s_##n
15
 
16
#endif