Robotran C Documentation
mbs_path.h
Go to the documentation of this file.
1 
2 #ifndef _MBS_PATH_H
3 #define _MBS_PATH_H
4 
13 char* find_user_path(const char* mbsfile);
14 
24 int find_project_path(const char* mbsfile, char* prjpath);
25 
39 char* mbs_basename(const char* path);
40 
54 char* mbs_dirname(const char* path);
55 
56 #endif
mbs_dirname
char * mbs_dirname(const char *path)
mbs_dirname returns the leading part of the path (UNIX and MAC).
Definition: mbs_path.c:141
find_user_path
char * find_user_path(const char *mbsfile)
Find the user folder corresponding to the given *.mbs file.
Definition: mbs_path.c:11
get_char_cpy
char * get_char_cpy(const char *fmt,...)
Copy the provided formatted string into a newly allocated memory.
Definition: useful_functions.c:191
useful_functions.h
mbs_basename
char * mbs_basename(const char *path)
mbs_basename return sthe trailing part of the path (UNIX and MAC).
Definition: mbs_path.c:95
_MBS_ERR_LOW_FILES
#define _MBS_ERR_LOW_FILES
Low Level error number Error during opening/writing files = -9.
Definition: mbs_errors_names.h:147
mbs_msg
void mbs_msg(char *msg,...)
Send a message.
Definition: mbs_message.c:76
mbs_basename
char * mbs_basename(const char *path)
mbs_basename return sthe trailing part of the path (UNIX and MAC).
Definition: mbs_path.c:95
find_project_path
int find_project_path(const char *mbsfile, char *prjpath)
Find the project directory (containing dataR, symbolicR, ...).
Definition: mbs_path.c:36
mbs_message.h
mbs_dirname
char * mbs_dirname(const char *path)
mbs_dirname returns the leading part of the path (UNIX and MAC).
Definition: mbs_path.c:141
find_user_path
char * find_user_path(const char *mbsfile)
Find the user folder corresponding to the given *.mbs file.
Definition: mbs_path.c:11
mbs_path.h
find_project_path
int find_project_path(const char *mbsfile, char *prjpath)
Find the project directory (containing dataR, symbolicR, ...).
Definition: mbs_path.c:36
mbs_errors_names.h