rt-thread-official/components/libc/compilers/minilibc/stdio.h

19 lines
335 B
C
Raw Normal View History

2013-01-08 22:40:58 +08:00
#ifndef __STDIO_H__
#define __STDIO_H__
#define BUFSIZ 128
#define EOF (-1)
2017-10-16 19:16:10 +08:00
#ifndef SEEK_SET
#define SEEK_SET 0 /* set file offset to offset */
#endif
#ifndef SEEK_CUR
#define SEEK_CUR 1 /* set file offset to current plus offset */
#endif
#ifndef SEEK_END
#define SEEK_END 2 /* set file offset to EOF plus offset */
#endif
2013-01-08 22:40:58 +08:00
#endif