sysctlbyname \
cfmakeraw \
setresuid \
get_current_dir_name \
)
AC_CHECK_DECLS([hstrerror, strsignal, sys_siglist])
#include <arpa/inet.h>
#include <assert.h>
#include <errno.h>
#include <limits.h> /* for PATH_MAX */
#include <netdb.h>
#include <netinet/in.h>
#include <pthread.h>
char *cwd2;
int len;
cwd = get_current_dir_name();
#ifdef HAVE_GET_CURRENT_DIR_NAME
#else
cwd = getcwd(NULL, PATH_MAX);
#endif
/* 2 = / + 0
*/
len = strlen(cwd) + strlen(rpath) + 2;