c++标准库cstdio文件

// cstdio standard header (core)

// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#pragma once
#ifndef _CSTDIO_
#define _CSTDIO_
#include <yvals_core.h>
#if _STL_COMPILER_PREPROCESSOR

#include <stdio.h>

#pragma pack(push, _CRT_PACKING)
#pragma warning(push, _STL_WARNING_LEVEL)
#pragma warning(disable : _STL_DISABLED_WARNINGS)
_STL_DISABLE_CLANG_WARNINGS
#pragma push_macro("new")
#undef new

// undef common macro overrides
#undef clearerr
#undef feof
#undef ferror
#undef getc
#undef getchar
#undef putc
#undef putchar

// TRANSITION: Boost nonconformingly uses this macro
#define _FPOSOFF(fp) (static_cast<long long>(fp))

_STD_BEGIN
#pragma warning(push)
#pragma warning(disable : 4995) // name was marked as #pragma deprecated

using _CSTD FILE;
using _CSTD _Mbstatet;

using _CSTD size_t;
using _CSTD fpos_t;
using _CSTD FILE;
using _CSTD clearerr;
using _CSTD fclose;
using _CSTD feof;
using _CSTD ferror;
using _CSTD fflush;
using _CSTD fgetc;
using _CSTD fgetpos;
using _CSTD fgets;
using _CSTD fopen;
using _CSTD fprintf;
using _CSTD fputc;
using _CSTD fputs;
using _CSTD fread;
using _CSTD freopen;
using _CSTD fscanf;
using _CSTD fseek;
using _CSTD fsetpos;
using _CSTD ftell;
using _CSTD fwrite;
using _CSTD getc;
using _CSTD getchar;
using _CSTD perror;
using _CSTD putc;
using _CSTD putchar;
using _CSTD printf;
using _CSTD puts;
using _CSTD remove;
using _CSTD rename;
using _CSTD rewind;
using _CSTD scanf;
using _CSTD setbuf;
using _CSTD setvbuf;
using _CSTD sprintf;
using _CSTD sscanf;
using _CSTD tmpfile;
using _CSTD tmpnam;
using _CSTD ungetc;
using _CSTD vfprintf;
using _CSTD vprintf;
using _CSTD vsprintf;

using _CSTD snprintf;
using _CSTD vsnprintf;
using _CSTD vfscanf;
using _CSTD vscanf;
using _CSTD vsscanf;

#pragma warning(pop)
_STD_END

#pragma pop_macro("new")
_STL_RESTORE_CLANG_WARNINGS
#pragma warning(pop)
#pragma pack(pop)

#endif // _STL_COMPILER_PREPROCESSOR
#endif // _CSTDIO_

posted @   Aeterna_Gungnir  阅读(367)  评论(0编辑  收藏  举报
编辑推荐:
· 从二进制到误差:逐行拆解C语言浮点运算中的4008175468544之谜
· .NET制作智能桌面机器人:结合BotSharp智能体框架开发语音交互
· 软件产品开发中常见的10个问题及处理方法
· .NET 原生驾驭 AI 新基建实战系列:向量数据库的应用与畅想
· 从问题排查到源码分析:ActiveMQ消费端频繁日志刷屏的秘密
阅读排行:
· 《HelloGitHub》第 108 期
· Windows桌面应用自动更新解决方案SharpUpdater5发布
· 我的家庭实验室服务器集群硬件清单
· Supergateway:MCP服务器的远程调试与集成工具
· C# 13 中的新增功能实操
点击右上角即可分享
微信分享提示