HPCToolkit
executable-path.c File Reference
#include <unistd.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include "executable-path.h"
Include dependency graph for executable-path.c:

Go to the source code of this file.

Functions

static int assemble_fullpath (const char *prefix, const int terminator, const char *suffix, char *result, char *result_end)
 
char * executable_path (const char *filename, const char *path_list, char *executable_name)
 
static char * strtcpy (char *dest, const char *src, const int t, char *dest_end)
 

Function Documentation

◆ assemble_fullpath()

static int assemble_fullpath ( const char *  prefix,
const int  terminator,
const char *  suffix,
char *  result,
char *  result_end 
)
static

Definition at line 155 of file executable-path.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ executable_path()

char* executable_path ( const char *  filename,
const char *  path_list,
char *  executable_name 
)

Definition at line 82 of file executable-path.c.

Here is the call graph for this function:

◆ strtcpy()

static char* strtcpy ( char *  dest,
const char *  src,
const int  t,
char *  dest_end 
)
static

Definition at line 142 of file executable-path.c.

Here is the caller graph for this function: