Warning: Parameter 1 to Language::getMagic() expected to be a reference, value given in /home/boincnew/public_html/boinc-wiki.info/w/includes/StubObject.php on line 58
Int boinc touch file(const char*) - Unofficial BOINC Wiki

Int boinc touch file(const char*)

From Unofficial BOINC Wiki

Revision as of 19:22, 7 October 2005 by Paul D. Buck (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search
The title of this article is incorrect due to technical limitations. The correct title is int boinc_touch_file(const char*).

Contents

[edit] Description

Attempts to determine if a file exists at the given location, and create one if no such file exists.

[edit] Parameters

Parameter
Type
Parameter
Name
Purpose & Content
const char* path The location to probe and possibly modify.

[edit] Returns

Zero if a file exists at the given location after the call, non-zero if no file exists at the given location after the call or on error.

[edit] Include & Implementation

Code Location:   lib/filesys.C
Include By:   #include "lib/filesys.h"
Function: int boinc_touch_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
RSS Feeds
BOINC Wiki RSS feeds RSS Feeds
Powered by BOINC!
Powered by BOINC