ns-3 Direct Code Execution
Home
Tutorials ▼
Docs ▼
Wiki
Manual
Develop ▼
API
Bugs
API
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dce-stdio.h
Go to the documentation of this file.
1
#ifndef SIMU_STDIO_H
2
#define SIMU_STDIO_H
3
4
#include <stdio.h>
5
#include <stdio_ext.h>
6
#include <unistd.h>
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
FILE *
dce_fopen
(
const
char
*path,
const
char
*mode);
13
FILE *
dce_fopen64
(
const
char
*path,
const
char
*mode);
14
FILE *
dce_fdopen
(
int
fildes,
const
char
*mode);
15
FILE *
dce_freopen
(
const
char
*path,
const
char
*mode, FILE *stream);
16
int
dce_fclose
(FILE *fp);
17
int
dce_fclose_unconditional
(FILE *fp);
18
int
dce_fclose_onexec
(FILE *file);
19
int
dce_fcloseall
(
void
);
20
21
int
dce_fflush
(FILE *stream);
22
void
dce_clearerr
(FILE *stream);
23
int
dce_feof
(FILE *stream);
24
int
dce_ferror
(FILE *stream);
25
int
dce_fileno
(FILE *stream);
26
27
int
dce_fseek
(FILE *stream,
long
offset,
int
whence);
28
int
dce_fseeko
(FILE *stream, off_t offset,
int
whence);
29
long
dce_ftell
(FILE *stream);
30
off_t
dce_ftello
(FILE *stream);
31
int
dce_fgetpos
(FILE *stream, fpos_t *pos);
32
int
dce_fsetpos
(FILE *stream,
const
fpos_t *pos);
33
void
dce_rewind
(FILE *stream);
34
35
int
dce_setvbuf
(FILE *stream,
char
*buf,
int
mode,
size_t
size);
36
void
dce_setbuf
(FILE *stream,
char
*buf);
37
void
dce_setbuffer
(FILE *stream,
char
*buf,
size_t
size);
38
void
dce_setlinebuf
(FILE *stream);
39
40
size_t
dce_fread
(
void
*ptr,
size_t
size,
size_t
nmemb, FILE *stream);
41
size_t
dce_fwrite
(
const
void
*ptr,
size_t
size,
size_t
nmemb,
42
FILE *stream);
43
int
dce_fputc
(
int
c, FILE *stream);
44
int
dce_fputs
(
const
char
*s, FILE *stream);
45
int
dce_fgetc
(FILE *stream);
46
char
*
dce_fgets
(
char
*s,
int
size, FILE *stream);
47
int
dce_ungetc
(
int
c, FILE *stream);
48
49
int
dce_remove
(
const
char
*pathname);
50
51
int
dce_printf
(
const
char
*format, ...);
52
int
dce_getchar
(
void
);
53
int
dce__IO_getc
(FILE *stream);
54
int
dce_putchar
(
int
__c);
55
int
dce__IO_putc
(
int
__c, FILE *__stream);
56
int
dce_puts
(
const
char
*__s);
57
58
void
dce_perror
(
const
char
*s);
59
60
int
dce___printf_chk
(
int
__flag, __const
char
*__restrict __format, ...);
61
int
dce___vfprintf_chk
(FILE *__restrict __stream,
int
__flag,
62
__const
char
*__restrict __format, _G_va_list __ap);
63
int
dce___fprintf_chk
(FILE *__restrict __stream,
int
__flag,
64
__const
char
*__restrict __format, ...);
65
int
dce___snprintf_chk
(
char
*__restrict __s,
size_t
__n,
int
__flag,
66
size_t
__slen, __const
char
*__restrict __format, ...);
67
68
void
dce___fpurge
(FILE *stream);
69
size_t
dce___fpending
(FILE *stream);
70
71
int
dce_asprintf
(
char
**strp,
const
char
*fmt, ...);
72
int
dce_vasprintf
(
char
**strp,
const
char
*fmt, va_list ap);
73
int
dce_vsnprintf
(
char
*s,
size_t
si,
const
char
*f, va_list ap);
74
int
dce___vsnprintf_chk
(
char
*__restrict __s,
size_t
__n,
int
__flag,
75
size_t
__slen,
76
__const
char
*__restrict __format, _G_va_list __ap);
77
78
79
#ifdef __cplusplus
80
}
81
#endif
82
83
#endif
/* SIMU_STDIO_H */
model
dce-stdio.h
Generated on Fri Aug 30 2013 13:57:55 for ns-3-dce by
1.8.1.2