mirror of
https://github.com/php/php-src.git
synced 2024-12-11 19:04:38 +08:00
17 lines
262 B
C
17 lines
262 B
C
#include <io.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <errno.h>
|
|
|
|
#define access _access
|
|
#define X_OK 0
|
|
#ifndef ENOENT
|
|
#define ENOENT 136
|
|
#endif
|
|
#ifndef EINVAL
|
|
#define EINVAL 131
|
|
#endif
|
|
|
|
int readlink(char *, char *, int);
|
|
int checkroot(char *path);
|