blob: 1d60f0b6f641d875c71bea6aff1b15789efe81f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* $OpenBSD: ld.h,v 1.6 2002/05/24 03:44:37 deraadt Exp $ */
/*
* Header file to make code compatible with ELF version
* ldconfig was taken from the a.out ld.
*/
#include <link.h>
extern int n_search_dirs;
extern char **search_dirs;
char *xstrdup(const char *);
void *xmalloc(size_t);
void *xrealloc(void *, size_t);
char *concat(const char *, const char *, const char *);
void add_search_dir(char *name);
void std_search_path(void);
void add_search_path(char *path);
void remove_search_dir(char *name);
int getdewey(int dewey[], char *cp);
int cmpndewey(int d1[], int n1, int d2[], int n2);
#define PAGSIZ __LDPGSZ
|