Changeset 3612 in MondoRescue for branches/3.2/mondo/src/include/mr_file.h


Ignore:
Timestamp:
Nov 18, 2016, 5:31:40 PM (7 years ago)
Author:
Bruno Cornec
Message:

Addition of a new mr_getcwd function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/include/mr_file.h

    r2208 r3612  
    2121#define mr_fclose(x)            mr_fclose_int((FILE **)&x, __LINE__,__FILE__)
    2222#define mr_mkdir(x,y)           mr_mkdir_int((const char *)x,(mode_t)y,__LINE__,__FILE__)
     23#define mr_getcwd()         mr_getcwd_int(__LINE__,__FILE__)
    2324
    2425extern FILE *mr_fopen_int(const char *path, const char *mode,int line, char *file);
     
    2627extern void mr_fclose_int(FILE **fd, int line, char *file);
    2728extern void mr_mkdir_int(const char *pathname, mode_t mode, int line, char *file);
     29extern char *mr_mkdir_int(int line, char *file);
    2830
    2931#endif                          /* MR_FILE_H */
Note: See TracChangeset for help on using the changeset viewer.