#include "config.h"
#include "ansidecl.h"
#include <stddef.h>
#include <stdarg.h>
Go to the source code of this file.
Functions |
void | malloc_failure (long size) ATTRIBUTE_NORETURN |
void | internal_error (const char *file, int line, const char *,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF(3 |
void void * | xzalloc (size_t) |
void | xfree (void *) |
char * | xstrprintf (const char *format,...) ATTRIBUTE_PRINTF(1 |
char char * | xstrvprintf (const char *format, va_list ap) ATTRIBUTE_PRINTF(1 |
char char int | xsnprintf (char *str, size_t size, const char *format,...) ATTRIBUTE_PRINTF(3 |
char char int char * | savestring (const char *ptr, size_t len) |
Function Documentation
void internal_error |
( |
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
, |
|
|
|
... |
|
) |
| |
char char int char* savestring |
( |
const char * |
ptr, |
|
|
size_t |
len |
|
) |
| |
Definition at line 105 of file common-utils.c.
Referenced by agent_mem_read_string(), buffer_free(), buffer_xml_printf(), cmd_qtnotes(), command_from_pid(), commandline_from_pid(), free_char_ptr_vec(), free_format_pieces(), gdb_event_xfree(), handle_notif_ack(), linux_common_core_of_thread(), linux_grandchild_function(), linux_qxfer_libraries_svr4(), linux_xfer_osdata_fds(), linux_xfer_osdata_processes(), linux_xfer_osdata_processgroups(), linux_xfer_osdata_threads(), notif_event_xfree(), pull_pid_from_list(), queue_stop_reply_callback(), and remove_tracepoint().
char char int xsnprintf |
( |
char * |
str, |
|
|
size_t |
size, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
char char* xstrvprintf |
( |
const char * |
format, |
|
|
va_list |
ap |
|
) |
| |