Path: blob/main/system/lib/llvm-libc/include/llvm-libc-macros/stdio-macros.h
6175 views
//===-- Macros defined in stdio.h header file -----------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIBC_MACROS_STDIO_MACROS_H9#define LLVM_LIBC_MACROS_STDIO_MACROS_H1011#include "../llvm-libc-types/FILE.h"1213#ifdef __cplusplus14extern "C" FILE *stdin;15extern "C" FILE *stdout;16extern "C" FILE *stderr;17#else18extern FILE *stdin;19extern FILE *stdout;20extern FILE *stderr;21#endif2223#ifndef stdin24#define stdin stdin25#endif2627#ifndef stdout28#define stdout stdout29#endif3031#ifndef stderr32#define stderr stderr33#endif3435#ifndef EOF36#define EOF (-1)37#endif3839#define BUFSIZ 10244041#define _IONBF 242#define _IOLBF 143#define _IOFBF 04445#ifndef SEEK_SET46#define SEEK_SET 047#endif4849#ifndef SEEK_CUR50#define SEEK_CUR 151#endif5253#ifndef SEEK_END54#define SEEK_END 255#endif5657#endif // LLVM_LIBC_MACROS_STDIO_MACROS_H585960