brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 96f0e69 Raw
59 lines · c
1//===-- Macros defined in stdio.h header file -----------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_LIBC_MACROS_STDIO_MACROS_H10#define LLVM_LIBC_MACROS_STDIO_MACROS_H11 12#include "../llvm-libc-types/FILE.h"13 14#ifdef __cplusplus15extern "C" FILE *stdin;16extern "C" FILE *stdout;17extern "C" FILE *stderr;18#else19extern FILE *stdin;20extern FILE *stdout;21extern FILE *stderr;22#endif23 24#ifndef stdin25#define stdin stdin26#endif27 28#ifndef stdout29#define stdout stdout30#endif31 32#ifndef stderr33#define stderr stderr34#endif35 36#ifndef EOF37#define EOF (-1)38#endif39 40#define BUFSIZ 102441 42#define _IONBF 243#define _IOLBF 144#define _IOFBF 045 46#ifndef SEEK_SET47#define SEEK_SET 048#endif49 50#ifndef SEEK_CUR51#define SEEK_CUR 152#endif53 54#ifndef SEEK_END55#define SEEK_END 256#endif57 58#endif // LLVM_LIBC_MACROS_STDIO_MACROS_H59