phpday 2027 - Call for Papers

dio_close

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

dio_close — Belirtilen dosya tanıtıcısını kapatır

Açıklama

function 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

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top