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 81 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_PATH_BUILD

#define KWSYS_SHARED_FORWARD_PATH_BUILD   vtksys_SHARED_FORWARD_PATH_BUILD

Definition at line 90 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_PATH_INSTALL

#define KWSYS_SHARED_FORWARD_PATH_INSTALL   vtksys_SHARED_FORWARD_PATH_INSTALL

Definition at line 99 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_EXE_BUILD

#define KWSYS_SHARED_FORWARD_EXE_BUILD   vtksys_SHARED_FORWARD_EXE_BUILD

Definition at line 108 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_EXE_INSTALL

#define KWSYS_SHARED_FORWARD_EXE_INSTALL   vtksys_SHARED_FORWARD_EXE_INSTALL

Definition at line 117 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_PATH_SEP

#define KWSYS_SHARED_FORWARD_PATH_SEP   ':'

Definition at line 187 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_PATH_SLASH

#define KWSYS_SHARED_FORWARD_PATH_SLASH   '/'

Definition at line 188 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_MAXPATH

#define KWSYS_SHARED_FORWARD_MAXPATH   16384

Definition at line 203 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_LDD

#define KWSYS_SHARED_FORWARD_LDD   "ldd"

Definition at line 287 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_LDD_N

#define KWSYS_SHARED_FORWARD_LDD_N   1

Definition at line 288 of file SharedForward.h.

◆ KWSYS_SHARED_FORWARD_LDPATH

#define KWSYS_SHARED_FORWARD_LDPATH   "LD_LIBRARY_PATH"

Definition at line 289 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 412 of file SharedForward.h.

◆ kwsys_shared_forward_samepath()

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

Definition at line 425 of file SharedForward.h.

◆ kwsys_shared_forward_strerror()

static void kwsys_shared_forward_strerror ( char *  message)
static

Definition at line 455 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 477 of file SharedForward.h.

◆ kwsys_shared_forward_dirname()

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

Definition at line 516 of file SharedForward.h.

◆ kwsys_shared_forward_is_executable()

static int kwsys_shared_forward_is_executable ( const char *  f)
static

Definition at line 551 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 571 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 637 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 673 of file SharedForward.h.

◆ kwsys_shared_forward_print_failure()

static void kwsys_shared_forward_print_failure ( char const *const argv)
static

Definition at line 763 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 780 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 190 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 193 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 776 of file SharedForward.h.