downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<Direct IO Functionsdio_fcntl>
Last updated: Thu, 26 Jun 2008

dio_close

(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5)

dio_close — Closes the file descriptor given by fd

Description

void dio_close ( resource $fd )

The function dio_close() closes the file descriptor fd .

Parameters

fd

The file descriptor returned by dio_open().

Return Values

No value is returned.

Examples

Example #1 Closing an open file descriptor

<?php
$fd
= dio_open('/dev/ttyS0', O_RDWR);

dio_close($fd);
?>

See Also



add a noteadd a note User Contributed Notes
Closes the file descriptor given by fd
There are no user contributed notes for this page.




<Direct IO Functionsdio_fcntl>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs