embox

Форк
0
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

13
int dn_expand(unsigned char *msg, unsigned char *eomorig,
14
              unsigned char *comp_dn, char *exp_dn,
15
              int length) {
16
	return -1;
17
}
18

19
int res_query(const char *dname, int class, int type,
20
              unsigned char *answer, int anslen) {
21
	return -1;
22
}
23

24
char *mktemp(char *template) {
25
	if (template) {
26
		*template = 0;
27
	}
28
	return template;
29
}
30

31
unsigned int alarm(unsigned int seconds) {
32
	return 0;
33
}
34

35

36
#include <dirent.h>
37
void seekdir(DIR *dirp, long offset) {
38
}
39

40
long telldir(DIR *dirp) {
41
	errno = EPERM;
42
	return -1;
43
}
44

45
int fnmatch(const char *pattern, const char *string, int flags) {
46
	return -1;
47
}
48

49

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.