rpm_close
(PECL rpmreader:0.1-0.3)
rpm_close — Closes an RPM file
说明
bool rpm_close
( resource $rpmr
)
rpm_close() will close an RPM file pointer.
参数
-
rpmr
-
A file pointer resource successfully opened by
rpm_open().
返回值
如果成功则返回 TRUE,失败则返回 FALSE。
范例
Example#1 rpm_close() example
<?php
$file = "/path/to/file.rpm";
$rpmr = rpm_open($file);
rpm_close($rpmr);
?>