![]() |
PandA-2024.02
|
#include "support.h"#include <stdio.h>#include <stdarg.h>#include <string.h>#include <unistd.h>#include <assert.h>#include <errno.h>#include <sys/types.h>#include <fcntl.h>#include <sys/stat.h>
Go to the source code of this file.
Macros | |
| #define | SUFFICIENT_SPRINTF_SPACE 256 |
| #define | generate_parse_TYPE_array(TYPE, STRTOTYPE) |
| #define | strtol_10(a, b) strtol(a,b,10) |
| #define | generate_write_TYPE_array(TYPE, FORMAT) |
Functions | |
| static int | fd_printf (int fd, const char *format,...) |
| char * | readfile (int fd) |
| char * | find_section_start (char *s, int n) |
| int | parse_string (char *s, char *arr, int n) |
| generate_parse_TYPE_array (uint8_t, strtol_10) | |
| generate_write_TYPE_array (uint8_t, PRIu8) | |
| #define generate_write_TYPE_array | ( | TYPE, | |
| FORMAT | |||
| ) |
| #define SUFFICIENT_SPRINTF_SPACE 256 |
Definition at line 13 of file support.c.
Referenced by fd_printf().
|
inlinestatic |
Definition at line 15 of file support.c.
References test_panda::args, and SUFFICIENT_SPRINTF_SPACE.
Referenced by generate_write_TYPE_array().

| generate_write_TYPE_array | ( | uint8_t | , |
| PRIu8 | |||
| ) |
Definition at line 177 of file support.c.
References fd_printf().

| int parse_string | ( | char * | s, |
| char * | arr, | ||
| int | n | ||
| ) |
1.8.13