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 – /branches/tendra4/src/lib/apis/ansi/stdio.h – Rev 2

Subversion Repositories tendra.SVN

Rev

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

Rev Author Line No. Line
2 7u83 1
#   		 Crown Copyright (c) 1997
2
#   
3
#   This TenDRA(r) Computer Program is subject to Copyright
4
#   owned by the United Kingdom Secretary of State for Defence
5
#   acting through the Defence Evaluation and Research Agency
6
#   (DERA).  It is made available to Recipients with a
7
#   royalty-free licence for its use, reproduction, transfer
8
#   to other parties and amendment for any purpose not excluding
9
#   product development provided that any such use et cetera
10
#   shall be deemed to be acceptance of the following conditions:-
11
#   
12
#       (1) Its Recipients shall ensure that this Notice is
13
#       reproduced upon any copies or amended versions of it;
14
#   
15
#       (2) Any amended version of it shall be clearly marked to
16
#       show both the nature of and the organisation responsible
17
#       for the relevant amendment or amendments;
18
#   
19
#       (3) Its onward transfer from a recipient to another
20
#       party shall be deemed to be that party's acceptance of
21
#       these conditions;
22
#   
23
#       (4) DERA gives no warranty or assurance as to its
24
#       quality or suitability for any purpose and DERA accepts
25
#       no liability whatsoever in relation to any use to which
26
#       it may be put.
27
#
28
+USE "ansi", "stdarg.h", "va_list" ;
29
 
30
+IMPLEMENT "ansi", "stddef.h", "size_t" (!?) ;
31
+IMPLEMENT "ansi", "stddef.h", "null" (!?) ;
32
 
33
+SUBSET "file" := { +TYPE FILE ; } ;
34
 
35
+EXP FILE *stdin, *stdout, *stderr ;
36
+SUBSET "eof" := { +CONST int EOF ; } ;
37
+CONST int BUFSIZ, FILENAME_MAX, FOPEN_MAX ;
38
+CONST int _IOFBF, _IOLBF, _IONBF, L_tmpnam ;
39
+SUBSET "seek_consts" := { +CONST int SEEK_CUR, SEEK_END, SEEK_SET ; } ;
40
+SUBSET "tmp_max" := { +CONST int TMP_MAX ; } ;
41
 
42
+IFNDEF __NO_PRINTF_CHECKS
43
+TYPEDEF ~special ( "printf" ) ~printf_string ;
44
+TYPEDEF ~special ( "scanf" ) ~scanf_string ;
45
+ELSE
46
+TYPEDEF const char * ~printf_string.1 ;
47
+TYPEDEF const char * ~scanf_string.1 ;
48
+ENDIF
49
 
50
+FUNC void clearerr ( FILE * ) ;
51
+FUNC int fclose ( FILE * ) ;
52
+FUNC int feof ( FILE * ) ;
53
+FUNC int ferror ( FILE * ) ;
54
+FUNC int fflush ( FILE * ) ;
55
+FUNC int fgetc ( FILE * ) ;
56
+FUNC char *fgets ( char *, int, FILE * ) ;
57
+FUNC FILE *fopen ( const char *, const char * ) ;
58
+FUNC int fputc ( int, FILE * ) ;
59
+FUNC int fputs ( const char *, FILE * ) ;
60
+FUNC size_t fread ( void *, size_t, size_t, FILE * ) ;
61
+FUNC FILE *freopen ( const char *, const char *, FILE * ) ;
62
+FUNC int fseek ( FILE *, long, int ) ;
63
+FUNC long ftell ( FILE * ) ;
64
+FUNC size_t fwrite ( const void *, size_t, size_t, FILE * ) ;
65
+FUNC int getc ( FILE * ) ;
66
+FUNC int getchar ( void ) ;
67
+FUNC char *gets ( char * ) ;
68
+FUNC void perror ( const char * ) ;
69
+FUNC int putc ( int, FILE * ) ;
70
+FUNC int putchar ( int ) ;
71
+FUNC int puts ( const char * ) ;
72
+FUNC int remove ( const char * ) ;
73
+SUBSET "rename" := { +FUNC int rename ( const char *, const char * ) ; } ;
74
+FUNC void rewind ( FILE * ) ;
75
+FUNC void setbuf ( FILE *, char * ) ;
76
+FUNC FILE *tmpfile ( void ) ;
77
+FUNC char *tmpnam ( char * ) ;
78
+FUNC int ungetc ( int, FILE * ) ;
79
+FUNC int printf ( ~printf_string, ... ) ;
80
+FUNC int fprintf ( FILE *, ~printf_string, ... ) ;
81
+FUNC int sprintf ( char *, ~printf_string, ... ) ;
82
+FUNC int scanf ( ~scanf_string, ... ) ;
83
+FUNC int fscanf ( FILE *, ~scanf_string, ... ) ;
84
+FUNC int sscanf ( const char *, ~scanf_string, ... ) ;
85
 
86
+IFNDEF __JUST_POSIX
87
+IFNDEF __JUST_XPG3
88
+TYPE fpos_t ;
89
+FUNC int fgetpos ( FILE *, fpos_t * ) ;
90
+FUNC int fsetpos ( FILE *, const fpos_t * ) ;
91
+ENDIF
92
+FUNC int setvbuf ( FILE *, char *, int, size_t ) ;
93
+FUNC int vfprintf ( FILE *, const char *, ~va_list ) ;
94
+FUNC int vprintf ( const char *, ~va_list ) ;
95
+FUNC int vsprintf ( char *, const char *, ~va_list ) ;
96
+ENDIF