|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <stdlib.h>#include <string.h>#include <stdarg.h>Go to the source code of this file.
Classes | |
| struct | UT_string |
Macros | |
| #define | UTSTRING_VERSION 1.9.6 |
| #define | _UNUSED_ |
| #define | oom() exit(-1) |
| #define | utstring_reserve(s, amt) |
| #define | utstring_init(s) |
| #define | utstring_done(s) |
| #define | utstring_free(s) |
| #define | utstring_new(s) |
| #define | utstring_renew(s) |
| #define | utstring_clear(s) |
| #define | utstring_bincpy(s, b, l) |
| #define | utstring_concat(dst, src) |
| #define | utstring_len(s) ((unsigned)((s)->i)) |
| #define | utstring_body(s) ((s)->d) |
Functions | |
| static _UNUSED_ void | utstring_printf_va (UT_string *s, const char *fmt, va_list ap) |
| static _UNUSED_ void | utstring_printf (UT_string *s, const char *fmt,...) |
| #define _UNUSED_ |
Definition at line 35 of file utstring.h.
| #define oom | ( | ) | exit(-1) |
Definition at line 41 of file utstring.h.
| #define utstring_bincpy | ( | s, | |
| b, | |||
| l | |||
| ) |
Definition at line 99 of file utstring.h.
| #define utstring_body | ( | s | ) | ((s)->d) |
Definition at line 117 of file utstring.h.
| #define utstring_clear | ( | s | ) |
Definition at line 93 of file utstring.h.
| #define utstring_concat | ( | dst, | |
| src | |||
| ) |
Definition at line 107 of file utstring.h.
| #define utstring_done | ( | s | ) |
Definition at line 65 of file utstring.h.
| #define utstring_free | ( | s | ) |
Definition at line 71 of file utstring.h.
| #define utstring_init | ( | s | ) |
Definition at line 58 of file utstring.h.
| #define utstring_len | ( | s | ) | ((unsigned)((s)->i)) |
Definition at line 115 of file utstring.h.
| #define utstring_new | ( | s | ) |
Definition at line 77 of file utstring.h.
| #define utstring_renew | ( | s | ) |
Definition at line 84 of file utstring.h.
| #define utstring_reserve | ( | s, | |
| amt | |||
| ) |
Definition at line 49 of file utstring.h.
Referenced by utstring_printf_va().
| #define UTSTRING_VERSION 1.9.6 |
Definition at line 30 of file utstring.h.
Definition at line 141 of file utstring.h.
References utstring_printf_va().
Definition at line 119 of file utstring.h.
References UT_string::d, UT_string::i, UT_string::n, and utstring_reserve.
Referenced by utstring_printf().