Najnowsze wypowiedzi
Na fizykê to dobre tablice ze wzorami + ogólna wiedza z fizyki i zrobisz wszystko ^^
z palca: btnprodukty(0) = btnprodukty0 'przypisanie przyciskow do tablicy btnprodukty(1) = btnprodukty1 'przypisanie przyciskow do tablicy btnprodukty(2) = btnprodukty2...
1. Mog³em usun±æ posta, nie nadaj± siê do czytania. 2. Czy linijki numer 8 daj± jaki¶ efekt ? 3. Która forma otwiera siê pierwsza ? EDIT: Albo zaczniesz siê normalnie zachowywaæ, pisaæ po...
W³a¶nie dok³adnie to chcia³em przekazaæ, ale kolega PeTeR chyba nie jest w stanie zrozumieæ mojego my¶lenia lub po prostu przyznaæ siê, ¿e zgani³ mnie za co¶ co b³êdem nie by³o. ;>
Dla naszego klienta du¿ej miêdzynarodowej firmy poszukujemy osób na stanowisko Programista/ Team Leader Lokalizacja Warszawa Wymagane: -roczne do¶wiadczenie C/C++ -znajomo¶æ jêzyka...
Kurs
mario download
XXVIII. Direct IO Functions
Wstęp
PHP supports the direct io functions as described in the Posix Standard (Section 6) for performing I/O functions at a lower level than the C-Language stream I/O functions (fopen(), fread(),..). The use of the DIO functions should be considered only when direct control of a device is needed. In all other cases, the standard filesystem functions are more than adequate.
Notatka: To rozszerzenie zostało przeniesione do repozytorium PECL i nie jest rozprowadzane z PHP od wersji 5.1.0.
This extension is only available on Windows Platforms as of PHP 5.0.0
Wymagania
Do zbudowania tego rozszerzenia nie są wymagane żadne zewnętrzne biblioteki.
Instalacja
To get these functions to work, you have to configure PHP with
--enable-dio.
Stałe predefiniowane
Poniższe stałe są zdefiniowane w tym rozszerzeniu i stają się dostępne, gdy rozszerzenie jest dokompilowane do PHP, lub załadowane dynamicznie przy starcie.
- c (integer)
- F_DUPFD (integer)
- F_GETFD (integer)
- F_GETFL (integer)
- F_GETLK (integer)
- F_GETOWN (integer)
- F_RDLCK (integer)
- F_SETFL (integer)
- F_SETLK (integer)
- F_SETLKW (integer)
- F_SETOWN (integer)
- F_UNLCK (integer)
- F_WRLCK (integer)
- O_APPEND (integer)
- O_ASYNC (integer)
- O_CREAT (integer)
- O_EXCL (integer)
- O_NDELAY (integer)
- O_NOCTTY (integer)
- O_NONBLOCK (integer)
- O_RDONLY (integer)
- O_RDWR (integer)
- O_SYNC (integer)
- O_TRUNC (integer)
- O_WRONLY (integer)
- S_IRGRP (integer)
- S_IROTH (integer)
- S_IRUSR (integer)
- S_IRWXG (integer)
- S_IRWXO (integer)
- S_IRWXU (integer)
- S_IWGRP (integer)
- S_IWOTH (integer)
- S_IWUSR (integer)
- S_IXGRP (integer)
- S_IXOTH (integer)
- S_IXUSR (integer)
Konfiguracja uruchomieniowa
To rozszerzenie nie definiuje posiada żadnych dyrektyw konfiguracyjnych w pliku php.ini.
Typy zasobów
One resource type is defined by this extension: a file descriptor returned by dio_open().
- Spis treści
- dio_close -- Closes the file descriptor given by fd
- dio_fcntl -- Performs a c library fcntl on fd
- dio_open -- Opens a new filename with specified permissions of flags and creation permissions of mode
- dio_read -- Reads bytes from a file descriptor
- dio_seek -- Seeks to pos on fd from whence
- dio_stat -- Gets stat information about the file descriptor fd
- dio_tcsetattr -- Sets terminal attributes and baud rate for a serial port
- dio_truncate -- Truncates file descriptor fd to offset bytes
- dio_write -- Writes data to fd with optional truncation at length
| Poprzedni | Spis treści | Następny |
| dbx_sort | Początek rozdziału | dio_close |
Obsługa wielowątkowości, jak to wykonać, przykład gdy wątki próbują robić coś równocześnie (jak temu zapobiec, lub jak to obsłużyć) np w przypadku obiektu klasy RECORDSET jeden cos tam jeszcze myka pobiera, się wcina i przed pobraniem następuje zamkniecie (close()) obiektu recordset.