#include "ui-file.h"
|
| | stdio_file (FILE *file, bool close_p=false) |
| |
| | stdio_file () |
| |
| | ~stdio_file () override |
| |
| bool | open (const char *name, const char *mode) |
| |
| void | flush () override |
| |
| void | write (const char *buf, long length_buf) override |
| |
| void | write_async_safe (const char *buf, long length_buf) override |
| |
| void | puts (const char *) override |
| |
| long | read (char *buf, long length_buf) override |
| |
| bool | isatty () override |
| |
| | ui_file () |
| |
| virtual | ~ui_file ()=0 |
| |
| void | printf (const char *,...) ATTRIBUTE_PRINTF(2 |
| |
| void void | putstr (const char *str, int quoter) |
| |
| void | putstrn (const char *str, int n, int quoter) |
| |
| int | putc (int c) |
| |
| void | vprintf (const char *, va_list) ATTRIBUTE_PRINTF(2 |
| |
Definition at line 152 of file ui-file.h.
◆ stdio_file() [1/2]
| stdio_file::stdio_file |
( |
FILE * |
file, |
|
|
bool |
close_p = false |
|
) |
| |
|
explicit |
◆ stdio_file() [2/2]
| stdio_file::stdio_file |
( |
| ) |
|
◆ ~stdio_file()
| stdio_file::~stdio_file |
( |
| ) |
|
|
override |
◆ flush()
| void stdio_file::flush |
( |
| ) |
|
|
overridevirtual |
◆ isatty()
| bool stdio_file::isatty |
( |
| ) |
|
|
overridevirtual |
◆ open()
| bool stdio_file::open |
( |
const char * |
name, |
|
|
const char * |
mode |
|
) |
| |
Definition at line 171 of file ui-file.c.
References gdb_fopen_cloexec(), m_close_p, m_file, name, and set_stream().
Referenced by maintenance_print_architecture(), maintenance_print_dummy_frames(), maintenance_print_msymbols(), maintenance_print_psymbols(), maintenance_print_reggroups(), maintenance_print_symbols(), regcache_print(), and save_breakpoints().
◆ puts()
| void stdio_file::puts |
( |
const char * |
linebuffer | ) |
|
|
overridevirtual |
◆ read()
| long stdio_file::read |
( |
char * |
buf, |
|
|
long |
length_buf |
|
) |
| |
|
overridevirtual |
◆ set_stream()
| void stdio_file::set_stream |
( |
FILE * |
file | ) |
|
|
private |
◆ write()
| void stdio_file::write |
( |
const char * |
buf, |
|
|
long |
length_buf |
|
) |
| |
|
overridevirtual |
◆ write_async_safe()
| void stdio_file::write_async_safe |
( |
const char * |
buf, |
|
|
long |
length_buf |
|
) |
| |
|
overridevirtual |
◆ m_close_p
| bool stdio_file::m_close_p |
|
private |
◆ m_fd
◆ m_file
The documentation for this class was generated from the following files: