22. High-level API Reference
www.yoctopuce.com
407
YFiles
files
→
remove()
Deletes a file, given by its full path name, from the filesystem.
js
function remove(
pathname
)
cpp
int remove( string
pathname
)
m
-(int) remove : (NSString*)
pathname
pas
function remove(
pathname
: string): LongInt
vb
function remove( ) As Integer
cs
int remove( string
pathname
)
java
int remove( String
pathname
)
uwp
Task<int> remove( string
pathname
)
py
def remove(
pathname
)
php
function remove(
$pathname
)
es
function remove(
pathname
)
cmd
YFiles
target
remove
pathname
Because of filesystem fragmentation, deleting a file may not always free up the whole space used by
the file. However, rewriting a file with the same path name will always reuse any space not freed
previously. If you need to ensure that no space is taken by previously deleted files, you can use
format_fs
to fully reinitialize the filesystem.
Parameters :
pathname
path and name of the file to remove.
Returns :
YAPI_SUCCESS
if the call succeeds.
On failure, throws an exception or returns a negative error code.
Содержание Yocto-Display
Страница 1: ...Yocto Display User Manual...
Страница 2: ......
Страница 40: ...34 www yoctopuce com...
Страница 52: ...46 www yoctopuce com...
Страница 84: ...78 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...22 High level API Reference 152 www yoctopuce com On failure throws an exception or returns a negative error code...
Страница 422: ...416 www yoctopuce com...
Страница 424: ...24 Characteristics 418 www yoctopuce com...