File: stdio.h

package info (click to toggle)
sameboy 1.0.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 10,528 kB
  • sloc: ansic: 29,948; objc: 22,249; asm: 1,424; pascal: 1,373; makefile: 1,065; xml: 111
file content (32 lines) | stat: -rwxr-xr-x 627 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#pragma once

#ifdef noinline
#undef noinline
#include_next <stdio.h>
#define noinline __attribute__((noinline))
#else
#include_next <stdio.h>
#endif

#include <stdlib.h>
#include <stdarg.h>

#if _WIN64
#define fseek(...) _fseeki64(__VA_ARGS__)
#endif

int access(const char *filename, int mode);
#define R_OK 4
#define W_OK 2

#ifndef __MINGW32__
#ifndef __LIBRETRO__
int vasprintf(char **str, const char *fmt, va_list args);
int asprintf(char **strp, const char *fmt, ...);
#endif
#endif

intptr_t getline(char **lineptr, size_t *n, FILE *stream);

#define snprintf _snprintf
#define printf(...) fprintf(stdout, __VA_ARGS__)