mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 01:55:38 +08:00
22 lines
906 B
C
22 lines
906 B
C
//-----------------------------------------------------------------------------
|
|
// Copyright (C) 2010 Hector Martin "marcan" <marcan@marcansoft.com>
|
|
//
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
// the license.
|
|
//-----------------------------------------------------------------------------
|
|
// Common *printf() functions
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef __PRINTF_H
|
|
#define __PRINTF_H
|
|
|
|
#include <stdarg.h>
|
|
#include <stddef.h>
|
|
#include "string.h"
|
|
|
|
int kvsprintf(const char *fmt, void *arg, int radix, va_list ap) __attribute__((format(printf, 1, 0)));
|
|
int vsprintf(char *dest, const char *fmt, va_list ap) __attribute__((format(printf, 2, 0)));
|
|
int sprintf(char *dest, const char *fmt, ...) __attribute__((format(printf, 2, 3)));
|
|
|
|
#endif
|