Macros | Functions | Variables
SharedForward.h File Reference
#include <errno.h>
#include <limits.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
Include dependency graph for SharedForward.h:

Go to the source code of this file.

Macros

#define KWSYS_SHARED_FORWARD_DIR_BUILD   vtksys_SHARED_FORWARD_DIR_BUILD
 
#define KWSYS_SHARED_FORWARD_PATH_BUILD   vtksys_SHARED_FORWARD_PATH_BUILD
 
#define KWSYS_SHARED_FORWARD_PATH_INSTALL   vtksys_SHARED_FORWARD_PATH_INSTALL
 
#define KWSYS_SHARED_FORWARD_EXE_BUILD   vtksys_SHARED_FORWARD_EXE_BUILD
 
#define KWSYS_SHARED_FORWARD_EXE_INSTALL   vtksys_SHARED_FORWARD_EXE_INSTALL
 
#define KWSYS_SHARED_FORWARD_PATH_SEP   ':'
 
#define KWSYS_SHARED_FORWARD_PATH_SLASH   '/'
 
#define KWSYS_SHARED_FORWARD_MAXPATH   16384
 
#define KWSYS_SHARED_FORWARD_LDD   "ldd"
 
#define KWSYS_SHARED_FORWARD_LDD_N   1
 
#define KWSYS_SHARED_FORWARD_LDPATH   "LD_LIBRARY_PATH"
 
#define KWSYS_SHARED_FORWARD_ACCESS   access
 
#define KWSYS_SHARED_FORWARD_ACCESS_OK   04
 

Functions

static int kwsys_shared_forward_realpath (const char *in_path, char *out_path)
 
static int kwsys_shared_forward_samepath (const char *file1, const char *file2)
 
static void kwsys_shared_forward_strerror (char *message)
 
static void kwsys_shared_forward_execvp (const char *cmd, char const *const *argv)
 
static void kwsys_shared_forward_dirname (const char *begin, char *result)
 
static int kwsys_shared_forward_is_executable (const char *f)
 
static int kwsys_shared_forward_self_path (const char *argv0, char *result)
 
static int kwsys_shared_forward_fullpath (const char *self_path, const char *in_path, char *result, const char *desc)
 
static int kwsys_shared_forward_get_settings (const char *self_path, char *ldpath, char *exe)
 
static void kwsys_shared_forward_print_failure (char const *const *argv)
 
static int vtksys_shared_forward_to_real (int argc, char **argv_in)
 

Variables

static const char kwsys_shared_forward_path_sep [2]
 
static const char kwsys_shared_forward_path_slash [2]
 
static char kwsys_shared_forward_ldpath [65535]
 

Macro Definition Documentation

◆ KWSYS_SHARED_FORWARD_DIR_BUILD

#define KWSYS_SHARED_FORWARD_DIR_BUILD   vtksys_SHARED_FORWARD_DIR_BUILD

Definition at line 75 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_PATH_BUILD

#define KWSYS_SHARED_FORWARD_PATH_BUILD   vtksys_SHARED_FORWARD_PATH_BUILD

Definition at line 84 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_PATH_INSTALL

#define KWSYS_SHARED_FORWARD_PATH_INSTALL   vtksys_SHARED_FORWARD_PATH_INSTALL

Definition at line 93 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_EXE_BUILD

#define KWSYS_SHARED_FORWARD_EXE_BUILD   vtksys_SHARED_FORWARD_EXE_BUILD

Definition at line 102 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_EXE_INSTALL

#define KWSYS_SHARED_FORWARD_EXE_INSTALL   vtksys_SHARED_FORWARD_EXE_INSTALL

Definition at line 111 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_PATH_SEP

#define KWSYS_SHARED_FORWARD_PATH_SEP   ':'

Definition at line 181 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_PATH_SLASH

#define KWSYS_SHARED_FORWARD_PATH_SLASH   '/'

Definition at line 182 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_MAXPATH

#define KWSYS_SHARED_FORWARD_MAXPATH   16384

Definition at line 197 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_LDD

#define KWSYS_SHARED_FORWARD_LDD   "ldd"

Definition at line 281 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_LDD_N

#define KWSYS_SHARED_FORWARD_LDD_N   1

Definition at line 282 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_LDPATH

#define KWSYS_SHARED_FORWARD_LDPATH   "LD_LIBRARY_PATH"

Definition at line 283 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_ACCESS

#define KWSYS_SHARED_FORWARD_ACCESS   access

◆ KWSYS_SHARED_FORWARD_ACCESS_OK

#define KWSYS_SHARED_FORWARD_ACCESS_OK   04

Function Documentation

◆ kwsys_shared_forward_realpath()

static int kwsys_shared_forward_realpath ( const char *  in_path,
char *  out_path 
)
static

Definition at line 406 of file SharedForward.h.

◆ kwsys_shared_forward_samepath()

static int kwsys_shared_forward_samepath ( const char *  file1,
const char *  file2 
)
static

Definition at line 419 of file SharedForward.h.

◆ kwsys_shared_forward_strerror()

static void kwsys_shared_forward_strerror ( char *  message)
static

Definition at line 449 of file SharedForward.h.

◆ kwsys_shared_forward_execvp()

static void kwsys_shared_forward_execvp ( const char *  cmd,
char const *const argv 
)
static

Definition at line 471 of file SharedForward.h.

◆ kwsys_shared_forward_dirname()

static void kwsys_shared_forward_dirname ( const char *  begin,
char *  result 
)
static

Definition at line 510 of file SharedForward.h.

◆ kwsys_shared_forward_is_executable()

static int kwsys_shared_forward_is_executable ( const char *  f)
static

Definition at line 545 of file SharedForward.h.

◆ kwsys_shared_forward_self_path()

static int kwsys_shared_forward_self_path ( const char *  argv0,
char *  result 
)
static

Definition at line 565 of file SharedForward.h.

◆ kwsys_shared_forward_fullpath()

static int kwsys_shared_forward_fullpath ( const char *  self_path,
const char *  in_path,
char *  result,
const char *  desc 
)
static

Definition at line 631 of file SharedForward.h.

◆ kwsys_shared_forward_get_settings()

static int kwsys_shared_forward_get_settings ( const char *  self_path,
char *  ldpath,
char *  exe 
)
static

Definition at line 667 of file SharedForward.h.

◆ kwsys_shared_forward_print_failure()

static void kwsys_shared_forward_print_failure ( char const *const argv)
static

Definition at line 757 of file SharedForward.h.

◆ vtksys_shared_forward_to_real()

static int vtksys_shared_forward_to_real ( int  argc,
char **  argv_in 
)
static

Definition at line 774 of file SharedForward.h.

Variable Documentation

◆ kwsys_shared_forward_path_sep

const char kwsys_shared_forward_path_sep[2]
static
Initial value:
= {
}
#define KWSYS_SHARED_FORWARD_PATH_SEP

Definition at line 184 of file SharedForward.h.

◆ kwsys_shared_forward_path_slash

const char kwsys_shared_forward_path_slash[2]
static
Initial value:
= {
}
#define KWSYS_SHARED_FORWARD_PATH_SLASH

Definition at line 187 of file SharedForward.h.

◆ kwsys_shared_forward_ldpath

char kwsys_shared_forward_ldpath[65535]
static
Initial value:
=
#define KWSYS_SHARED_FORWARD_LDPATH

Definition at line 770 of file SharedForward.h.