Home
last modified time | relevance | path

Searched refs:MyPath (Results 1 – 1 of 1) sorted by relevance

/freebsd-13.1/contrib/ncurses/ncurses/trace/
H A Dlib_trace.c92 #define MyPath _nc_globals.trace_fname macro
108 if (MyPath[0] == '\0') { in curses_trace()
109 size_t size = sizeof(MyPath) - 12; in curses_trace()
110 if (getcwd(MyPath, size) == 0) { in curses_trace()
114 MyPath[size] = '\0'; in curses_trace()
115 assert(strlen(MyPath) <= size); in curses_trace()
116 _nc_STRCAT(MyPath, "/trace", sizeof(MyPath)); in curses_trace()
117 if (_nc_is_dir_path(MyPath)) { in curses_trace()
118 _nc_STRCAT(MyPath, ".log", sizeof(MyPath)); in curses_trace()
121 if (_nc_access(MyPath, W_OK) < 0 in curses_trace()
[all …]