xref: /nrf52832-nimble/rt-thread/components/libc/compilers/minilibc/stdio.h (revision 104654410c56c573564690304ae786df310c91fc)
1 /*
2  * Copyright (c) 2006-2018, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  */
9 #ifndef __STDIO_H__
10 #define __STDIO_H__
11 
12 #define BUFSIZ 128
13 #define EOF 	(-1)
14 
15 #ifndef SEEK_SET
16 #define	SEEK_SET	0	/* set file offset to offset */
17 #endif
18 #ifndef SEEK_CUR
19 #define	SEEK_CUR	1	/* set file offset to current plus offset */
20 #endif
21 #ifndef SEEK_END
22 #define	SEEK_END	2	/* set file offset to EOF plus offset */
23 #endif
24 
25 #endif
26 
27