Truncating Files
Truncating Files —
Description
Details
gnome_vfs_truncate ()
GnomeVFSResult gnome_vfs_truncate (const gchar *text_uri,
GnomeVFSFileSize length);
| text_uri : | URI of the file to be truncated
|
| length : | length of the new file at text_uri
|
| Returns : | An integer representing the result of the operation
|
gnome_vfs_truncate_uri ()
GnomeVFSResult gnome_vfs_truncate_uri (GnomeVFSURI *uri,
GnomeVFSFileSize length);
| uri : | URI of the file to be truncated
|
| length : | length of the new file at uri
|
| Returns : | An integer representing the result of the operation
|
gnome_vfs_truncate_handle ()
GnomeVFSResult gnome_vfs_truncate_handle (GnomeVFSHandle *handle,
GnomeVFSFileSize length);
| handle : | a handle to the file to be truncated
|
| length : | length of the new file the handle is open to
|
| Returns : | An integer representing the result of the operation
|