JavaScript Editor Javascript debugger     Website design 


rpm_close

Closes an RPM file (PECL rpmreader:0.1-0.3)
bool rpm_close ( resource rpmr )

rpm_close() will close an RPM file pointer.

Parameters

rpmr

A file pointer resource successfully opened by rpm_open().

Return Values

Returns TRUE on success or FALSE on failure.

Examples

Example 2071. rpm_close() example

<?php

$file
= "/path/to/file.rpm";
$rpmr = rpm_open($file);

rpm_close($rpmr);

?>


See Also
rpm_open()