GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
stderr_file Class Reference

#include "ui-file.h"

Inheritance diagram for stderr_file:
stdio_file ui_file

Public Member Functions

 stderr_file (FILE *stream)
 
void write (const char *buf, long length_buf) override
 
void puts (const char *linebuffer) override
 
- Public Member Functions inherited from stdio_file
 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
 
bool can_emit_style_escape () override
 
int fd () const override
 
- Public Member Functions inherited from ui_file
 ui_file ()
 
virtual ~ui_file ()=0
 
 ui_file (ui_file &&other)=default
 
void printf (const char *,...) ATTRIBUTE_PRINTF(2
 
void void putstr (const char *str, int quoter)
 
void putstrn (const char *str, int n, int quoter, bool async_safe=false)
 
void putc (int c)
 
void vprintf (const char *, va_list) ATTRIBUTE_PRINTF(2
 
virtual bool term_out ()
 
virtual void wrap_here (int indent)
 
virtual void emit_style_escape (const ui_file_style &style)
 
virtual void reset_style ()
 
virtual void puts_unfiltered (const char *str)
 

Additional Inherited Members

- Protected Attributes inherited from ui_file
ui_file_style m_applied_style
 

Detailed Description

Definition at line 320 of file ui-file.h.

Constructor & Destructor Documentation

◆ stderr_file()

stderr_file::stderr_file ( FILE * stream)
explicit

Definition at line 381 of file ui-file.c.

Member Function Documentation

◆ puts()

void stderr_file::puts ( const char * linebuffer)
overridevirtual

Reimplemented from ui_file.

Definition at line 375 of file ui-file.c.

References gdb_stdout, and stdio_file::puts().

◆ write()

void stderr_file::write ( const char * buf,
long length_buf )
overridevirtual

Implements ui_file.

Definition at line 365 of file ui-file.c.

References gdb_stdout, and stdio_file::write().

Referenced by gdb._GdbFile::writelines().


The documentation for this class was generated from the following files: