comparison compat.h @ 4:fe6bca95afa7

Makefile.in contains updated files required
author Matt Johnston <matt@ucc.asn.au>
date Tue, 01 Jun 2004 02:46:09 +0000
parents
children e3adf4cf5465
comparison
equal deleted inserted replaced
-1:000000000000 4:fe6bca95afa7
1 #ifndef _COMPAT_H_
2 #define _COMPAT_H_
3
4 #include "includes.h"
5
6 #ifndef HAVE_STRLCPY
7 size_t strlcpy(char *dst, const char *src, size_t size);
8 #endif
9
10 #ifndef HAVE_STRLCAT
11 size_t strlcat(char *dst, const char *src, size_t siz);
12 #endif
13
14 #ifndef HAVE_DAEMON
15 int daemon(int nochdir, int noclose);
16 #endif
17
18 #ifndef HAVE_BASENAME
19 char *basename(const char* path);
20 #endif
21
22 #ifndef HAVE_GETUSERSHELL
23 char *getusershell();
24 void setusershell();
25 void endusershell();
26 #endif
27
28 #ifndef _PATH_DEVNULL
29 #define _PATH_DEVNULL "/dev/null"
30 #endif
31
32 #endif /* _COMPAT_H_ */