11 # define DIMOF(a) ((int) (sizeof(a)/sizeof(a[0])) ) 27 int daemon(
int nochdir,
int noclose);
32 int setenv(
const char *name,
const char *value,
int why);
35 # ifndef HAVE_STRERROR 40 # ifndef HAVE_STRCHRNUL 45 # ifndef HAVE_ALPHASORT 48 alphasort(
const void *dirent1,
const void *dirent2);
52 size_t strnlen(
const char *s,
size_t maxlen);
58 char *
strndup(
const char *str,
size_t len);
64 # if defined(ON_BSD) || defined(ON_SOLARIS) 65 # define SUPPORT_PROCFS 0 67 # define SUPPORT_PROCFS 1 72 # if !GLIB_CHECK_VERSION(2,28,0) 76 g_list_free_full(GList * list, GDestroyNotify free_func)
78 g_list_foreach(list, (GFunc) free_func, NULL);
84 # ifndef HAVE_DBUSBASICVALUE 86 # include <dbus/dbus.h> 109 unsigned char bytes[8];
115 # ifdef DBUS_HAVE_INT64 119 DBus8ByteStruct eight;
132 # define ENOTUNIQ 190 144 # define EREMOTEIO 193 171 # ifndef EKEYREJECTED 172 # define EKEYREJECTED 200 179 # define __FUNCTION__ __func__ 182 # ifdef __MY_UNKNOWN_C 183 # define __FUNCTION__ "__FUNCTION__" int alphasort(const void *dirent1, const void *dirent2)
char * strerror(int errnum)
char * strndup(const char *str, size_t len)
int daemon(int nochdir, int noclose)
int setenv(const char *name, const char *value, int why)
size_t strnlen(const char *s, size_t maxlen)
char * strchrnul(const char *s, int c_in)