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

📄 stdarg.h

📁 早期freebsd实现
💻 H
字号:
/* * Copyright (c) 1994 David I. Bell * Permission is granted to use, distribute, or modify this source, * provided that this copyright notice remains intact. */#include "args.h"#ifndef STDARG_H#define STDARG_H#ifdef VARARGS#include <varargs.h>#else /*VARARG*/#ifdef STDARG#include <stdarg.h>#else /*STDARG*//* * SIMULATE_STDARG * * WARNING: This type of stdarg makes assumptions about the stack * 	    that may not be true on your system.  You may want to *	    define STDARG (if using ANSI C) or VARARGS. */typedef char *va_list;#define va_start(ap,parmn) (void)((ap) = (char*)(&(parmn) + 1))#define va_end(ap) (void)((ap) = 0)#define va_arg(ap, type) \    (((type*)((ap) = ((ap) + sizeof(type))))[-1])#endif /*STDARG*/#endif /*VARARG*/#endif/* END CODE */

⌨️ 快捷键说明

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