31 #include <sys/types.h> 32 #include <sys/times.h> 37 const char *str_text = "\033[1;33mWARNING\033[0m: unsupported libc function called = "; \ 38 const char *str_func = __PRETTY_FUNCTION__; \ 39 const char *str_endl = "\n"; \ 40 write(0, str_text, strlen(str_text)); \ 41 write(0, str_func, strlen(str_func)); \ 42 write(0, str_endl, strlen(str_endl)); \ 56 execve(
const char *path,
char *
const argv[],
char *
const envp[])
127 extern "C" _READ_WRITE_RETURN_TYPE
128 read(
int fd,
void *buffer,
size_t length)
168 return reinterpret_cast<void *
>(-1);
172 regcomp(regex_t *preg,
const char *regex,
int cflags)
208 regexec(
const regex_t *preg,
const char *
string,
209 size_t nmatch, regmatch_t pmatch[],
int eflags)
239 link(
const char *oldpath,
const char *newpath)
293 mkdir(
const char *path, mode_t mode)
352 nanosleep(
const struct timespec *req,
struct timespec *rem)
366 return _malloc_r(0, size);
378 return _calloc_r(0, nmemb, size);
384 return _realloc_r(0, ptr, size);
424 return __builtin_ldexp(x, exp);
430 return __builtin_nanf(tagp);
int stat(const char *pathname, struct stat *buf)
int regexec(const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags)
int posix_memalign(void **memptr, size_t alignment, size_t size)
int kill(pid_t _pid, int _sig)
int sigprocmask(int how, const sigset_t *set, sigset_t *oldset)
off_t lseek(int fd, off_t offset, int whence)
void regfree(regex_t *preg)
int link(const char *oldpath, const char *newpath)
double ldexp(double x, int exp)
void * realloc(void *ptr, size_t size)
int fstat(int file, struct stat *sbuf)
void * malloc(size_t size)
int fcntl(int fd, int cmd,...)
int __fpclassifyf(float val)
int execve(const char *path, char *const argv[], char *const envp[])
void * sbrk(ptrdiff_t __incr)
void * calloc(size_t nmemb, size_t size)
constexpr const auto size
int unlink(const char *file)
clock_t times(struct tms *buf)
int clock_gettime(clockid_t clk_id, struct timespec *tp) __THROW
int getentropy(void *buf, size_t buflen)
int nanosleep(const struct timespec *req, struct timespec *rem)
int __fpclassifyd(double val)
int regcomp(regex_t *preg, const char *regex, int cflags)
int open(const char *file, int mode,...)
int gettimeofday(struct timeval *tp, void *tzp)
int mkdir(const char *path, mode_t mode)
constexpr const auto name
float nanf(const char *tagp)
_READ_WRITE_RETURN_TYPE read(int fd, void *buffer, size_t length)