rpm_close

(PECL rpmreader >= 0.1.0)
Closes an RPM file
bool rpm_close ( resource $rpmr )

rpm_close() will close an RPM file pointer.

Parameters:
rpmr

A file pointer resource successfully opened by rpm_open().

Returns:

Returns TRUE on success or FALSE on failure.

Examples:
rpm_close() example
<?php

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

rpm_close($rpmr);

?>

See also:

rpm_open() -

doc_php
2016-02-24 16:04:37
Comments
Leave a Comment

Please login to continue.