Changeset View
Changeset View
Standalone View
Standalone View
libexec/rtld-elf/rtld_printf.c
Show All 38 Lines | |||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <inttypes.h> | #include <inttypes.h> | ||||
#include <stdarg.h> | #include <stdarg.h> | ||||
#include <stddef.h> | #include <stddef.h> | ||||
#include <string.h> | #include <string.h> | ||||
#include <unistd.h> | #include <unistd.h> | ||||
#include "rtld_printf.h" | #include "rtld_printf.h" | ||||
#include "rtld_libc.h" | |||||
#define MAXNBUF (sizeof(intmax_t) * NBBY + 1) | #define MAXNBUF (sizeof(intmax_t) * NBBY + 1) | ||||
#define PRINT_METHOD_SNPRINTF 1 | #define PRINT_METHOD_SNPRINTF 1 | ||||
#define PRINT_METHOD_WRITE 2 | #define PRINT_METHOD_WRITE 2 | ||||
struct snprintf_arg { | struct snprintf_arg { | ||||
int method; | int method; | ||||
▲ Show 20 Lines • Show All 451 Lines • Show Last 20 Lines |