PHP 8.1.28 Released!

dio_close

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

dio_closeBelirtilen dosya tanıtıcısını kapatır

Açıklama

dio_close(resource $dt): void

dio_close() işlevi, dt ile belirtilen dosya tanıtıcısını kapatır.

Bağımsız Değişkenler

dt

dio_open() işlevinden dönmüş bir dosya tanıtıcısı.

Dönen Değerler

Hiçbir değer dönmez.

Örnekler

Örnek 1 - Açık bir dosya tanıtıcısının kapatılması

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

dio_close($fd);
?>

Ayrıca Bakınız

  • dio_open() - Belirtilen dosyayı açar ve bu dosya için bir dosya tanıtıcısı döndürür

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top