embox
47 строк · 792.0 Байт
1/**
2* @file
3*
4* @date May 29, 2014
5* @author: Anton Bondarev
6*/
7#include <errno.h>8#include <unistd.h>9#include <sys/types.h>10#include <sys/uio.h>11#include "stubs.h"12
13int dn_expand(unsigned char *msg, unsigned char *eomorig,14unsigned char *comp_dn, char *exp_dn,15int length) {16return -1;17}
18
19int res_query(const char *dname, int class, int type,20unsigned char *answer, int anslen) {21return -1;22}
23
24char *mktemp(char *template) {25if (template) {26*template = 0;27}28return template;29}
30
31unsigned int alarm(unsigned int seconds) {32return 0;33}
34
35
36#include <dirent.h>37void seekdir(DIR *dirp, long offset) {38}
39
40long telldir(DIR *dirp) {41errno = EPERM;42return -1;43}
44
45int fnmatch(const char *pattern, const char *string, int flags) {46return -1;47}
48
49