FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_path.c File Reference
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <errno.h>
#include "hecmw_config.h"
#include "hecmw_path.h"
#include "hecmw_util.h"
Include dependency graph for hecmw_path.c:

Go to the source code of this file.

Macros

#define PATH_SEPARATOR   '/'
 
#define isslash(c)   ((c) == '/')
 

Functions

int HECMW_get_path_separator (void)
 
int HECMW_is_absolute_path (const char *path)
 
char * HECMW_basename (const char *path)
 
char * HECMW_dirname (const char *path)
 

Macro Definition Documentation

◆ isslash

#define isslash (   c)    ((c) == '/')

Definition at line 31 of file hecmw_path.c.

◆ PATH_SEPARATOR

#define PATH_SEPARATOR   '/'

Definition at line 23 of file hecmw_path.c.

Function Documentation

◆ HECMW_basename()

char* HECMW_basename ( const char *  path)

Definition at line 159 of file hecmw_path.c.

◆ HECMW_dirname()

char* HECMW_dirname ( const char *  path)

Definition at line 167 of file hecmw_path.c.

◆ HECMW_get_path_separator()

int HECMW_get_path_separator ( void  )

Definition at line 34 of file hecmw_path.c.

Here is the caller graph for this function:

◆ HECMW_is_absolute_path()

int HECMW_is_absolute_path ( const char *  path)

Definition at line 45 of file hecmw_path.c.