⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vsprintf.h

📁 em86xx 完整启动程序,支持网络下载与串通下载
💻 H
字号:
/***************************************** Copyright (c) 2003-2004 Sigma Designs, Inc. All Rights Reserved Proprietary and Confidential *****************************************//* This file is part of the boot loader *//* * vsprintf.h * * This is the porting of <stdarg.h> for ARM processor * also including function prototypes defined in vsprintf.c */#ifndef __BOOTLOADER_VSPRINTF_H#define __BOOTLOADER_VSPRINTF_H// stdargtypedef void *va_list;// size of memory storing the data with specified type// data size must be multiple of sizeof(int) : 4 bytes#define __va_rounded_size(TYPE)  \  (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))// stdarg standard macros#define va_start(AP, LASTARG)   (AP = (va_list) __builtin_next_arg(LASTARG))#define va_end(AP)#define va_arg(AP, TYPE)        (AP = (va_list) ((char *) (AP) + __va_rounded_size (TYPE)), *((TYPE *) (void *) ((char *) (AP) - __va_rounded_size(TYPE))))/* function prototypes */        int sprintf(char * buf, const char *fmt, ...) __attribute__((format(printf, 2, 3)));int vsprintf(char *buf, const char *fmt, va_list args);#endif 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -