Changeset 109 in libcf for trunk/src/cf_file.c
- Timestamp:
- 06/04/13 14:25:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cf_file.c
r95 r109 219 219 220 220 /** 221 * 파일 및 디렉터리 존재 여부 검사 222 * 223 * @return 존재 시, CF_TRUE; 아니면, CF_FALSE 224 * 225 * @param path 파일 및 디렉터리 경로 226 */ 227 CF_BOOL 228 CF_File_Exists (const char * path) 229 { 230 return (access (path, F_OK) == 0) ? CF_TRUE : CF_FALSE; 231 } 232 233 /** 221 234 * 디렉터리 생성 222 235 * … … 244 257 continue; 245 258 246 if ( access (stepPath, F_OK) == 0)259 if (CF_File_Exists (stepPath)) 247 260 continue; 248 261
Note:
See TracChangeset
for help on using the changeset viewer.