Forum und email

rpm_close

(PECL rpmreader:0.1-0.3)

rpm_close — RPM ファイルを閉じる

説明

bool rpm_close ( resource $rpmr )

rpm_close() は RPM ファイルポインタを閉じます。

パラメータ

rpmr

rpm_open() でオープンしたファイルポインタリソース。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

Example#1 rpm_close() の例

<?php

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

rpm_close($rpmr);

?>

参考