aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/system-header-simulator.h
blob: 1dd9c5b60746e10988d94eae275222102b1760b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma clang system_header

typedef struct _FILE FILE;
extern FILE *stdin;
int fscanf(FILE *restrict stream, const char *restrict format, ...);

// Note, on some platforms errno macro gets replaced with a function call.
extern int errno;

unsigned long strlen(const char *);

char *strcpy(char *restrict s1, const char *restrict s2);