Bool is file(const char*)

From Unofficial BOINC Wiki

Jump to: navigation, search
The title of this article is incorrect due to technical limitations. The correct title is bool is_file(const char*).

Contents

[edit] Description

Tests if the given path describes a regular file.

[edit] Parameters

Parameter
Type
Parameter
Name
Purpose & Content
const char* path The path to test.

[edit] Returns

True/non-zero if the given path describes a regular file, False/zero otherwise.

[edit] Include & Implementation

Code Location:   lib/filesys.C
Include By:   #include "lib/filesys.h"
Function: bool is_file(const char* path)
Documentation:   BOINC Source Code: boinc/lib/filesys.C
CVS Extract:   cvs -d :pserver:anonymous:@alien.ssl.berkeley.edu:/home/cvs/cvsroot checkout boinc/lib/filesys.C

[edit] Compatibility

[edit] Code Sample

None.

[edit] Also See

Personal tools