w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

progname.c File Reference
#include <kpathsea/config.h>
#include <kpathsea/absolute.h>
#include <kpathsea/c-pathch.h>
#include <kpathsea/c-pathmx.h>
#include <kpathsea/c-stat.h>
#include <kpathsea/pathsearch.h>
#include <kpathsea/tex-file.h>
Include dependency graph for progname.c:

Go to the source code of this file.

Macros

#define S_IXUSR   0100
 
#define S_IXGRP   0010
 
#define S_IXOTH   0001
 
#define expand_symlinks(k, s)   (s)
 

Functions

static string remove_dots (kpathsea kpse, string dir)
 
string kpathsea_selfdir (kpathsea kpse, const_string argv0)
 
static string fix_selfdir (string dir)
 
void kpathsea_set_program_name (kpathsea kpse, const_string argv0, const_string progname)
 
string kpse_program_basename (const_string argv0)
 

Macro Definition Documentation

◆ expand_symlinks

#define expand_symlinks (   k,
  s 
)    (s)

Definition at line 245 of file progname.c.

◆ S_IXGRP

#define S_IXGRP   0010

Definition at line 63 of file progname.c.

◆ S_IXOTH

#define S_IXOTH   0001

Definition at line 66 of file progname.c.

◆ S_IXUSR

#define S_IXUSR   0100

Definition at line 59 of file progname.c.

Function Documentation

◆ fix_selfdir()

static string fix_selfdir ( string  dir)
inlinestatic

Definition at line 468 of file progname.c.

References dir, and IS_DIR_SEP_CH.

Referenced by kpathsea_set_program_name().

◆ kpathsea_selfdir()

◆ kpathsea_set_program_name()

◆ kpse_program_basename()

string kpse_program_basename ( const_string  argv0)

◆ remove_dots()