您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

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);

?>

参见