Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – tendra.SVN – Blame – /trunk/src/lib/machines/freebsd/80x86/include/stdio.h – Rev 86

Subversion Repositories tendra.SVN

Rev

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

Rev Author Line No. Line
71 7u83 1
#ifndef __TENDRA_STDIO_H
2
#define __TENDRA_STDIO_H
3
 
4
extern struct __sFILE;
5
typedef struct __sFILE FILE;
86 7u83 6
 
7
 
71 7u83 8
extern FILE *__stdinp;
9
extern FILE *__stdoutp;
10
extern FILE *__stderrp;
11
 
12
extern char	*tmpnam(char *);
13
typedef	unsigned long	fpos_t;
14
#define	L_tmpnam	1024	/* XXX must be == PATH_MAX */
15
 
16
#define	stdin	__stdinp
17
#define	stdout	__stdoutp
18
#define	stderr	__stderrp
19
 
20
 
86 7u83 21
extern FILE * stdout;
22
extern FILE * stdin;
23
extern FILE * stderr;
24
 
25
 
71 7u83 26
#define	_IOFBF	0		/* setvbuf should set fully buffered */
27
#define	_IOLBF	1		/* setvbuf should set line buffered */
28
#define	_IONBF	2		/* setvbuf should set unbuffered */
29
 
30
#define	BUFSIZ	1024		/* size of buffer used by setbuf */
31
#define	EOF	(-1)
32
 
33
/*
34
 * FOPEN_MAX is a minimum maximum, and is the number of streams that
35
 * stdio can provide without attempting to allocate further resources
36
 * (which could fail).  Do not use this for anything.
37
 */
38
				/* must be == _POSIX_STREAM_MAX <limits.h> */
39
#ifndef FOPEN_MAX
40
#define	FOPEN_MAX	20	/* must be <= OPEN_MAX <sys/syslimits.h> */
41
#endif
42
#define	FILENAME_MAX	1024	/* must be <= PATH_MAX <sys/syslimits.h> */
43
 
44
#ifndef SEEK_SET
45
#define	SEEK_SET	0	/* set file offset to offset */
46
#endif
47
#ifndef SEEK_CUR
48
#define	SEEK_CUR	1	/* set file offset to current plus offset */
49
#endif
50
#ifndef SEEK_END
51
#define	SEEK_END	2	/* set file offset to EOF plus offset */
52
#endif
53
 
54
 
55
#define	TMP_MAX		308915776
72 7u83 56
#define	L_cuserid	17	/* size for cuserid(3); MAXLOGNAME, legacy */
57
#define	L_ctermid	1024	/* size for ctermid(3); PATH_MAX */
71 7u83 58
 
79 7u83 59
#define NASE 12
60
 
71 7u83 61
#endif
62