SpyLOG
PHP-Nuke ��-������    �������
���������
��������
 ����
�������
����
 �������
������������
�������
 ������
�������
������
 �����
�������
��������
 �����
������������
�������
 �����
������
���������
������� ���
����� �����

XXIII. ������� Direct IO

��������

PHP ������������ ������� direct io, ��� ������� � ��������� Posix Standard (������ 6), ��� ���������� ������� I/O �� ������ ����� ������, ��� I/O-������� ������ ����� C (fopen, fread,..).

����������

��� ������� ������ �������� ��� ����� ������������ ������.

���������

����� ��� ������� ��������, �� ������ ���������������� ��� � ������ --enable-dio.

������������

��� ���������� �� ���������� ������� �������� ������������.

���� ��������

���� ����������� �������� ���� ��� ��������: ���������� �����, ������������ �������� dio_open().

��������������� ���������

��� ���������� �� ���������� ������� ��������.

����������
dio_close - ��������� ���������� �����, �������� � fd
dio_fcntl - ��������� fcntl c-���������� � fd
dio_open - ��������� ����� ���� filename �� ������������������ ������� ������� ������� � ������� �������� ��� ������/mode
dio_read - ������ n ���� �� fd � ���������� ��; ���� n �� ��������������, ������ ���� 1k
dio_seek - ���� pos � fd, � �������
dio_stat - �������� stat-���������� � ����������� ����� fd
dio_truncate - ������� ���������� ����� fd �� offset ������
dio_write - ���������� ������ � fd � ��������� ��������� �� ����������� �����

����� ���������� �����
dbplus_xunlockrel ����� dio_close

RigaNet - Internet studio
For Web site issues, contact the Web master.

Rambler's Top100 �������@Mail.ru SpyLOG RigaNet