П О Р Т А Л                            
С Е Т Е В Ы Х                          
П Р О Е К Т О В                        
  
Поиск по сайту:
                                                 
Главная

О проекте

Web-мастеру
     HTML & JavaScript
     SSI
     Perl
     PHP
     XML & XSLT
     Unix Shell

MySQL

Безопасность

Хостинг

Другое








Самое читаемое:

Учебник PHP - "Для Чайника".
Просмотров 6106 раз(а).

Иллюстрированный самоучитель по созданию сайтов.
Просмотров 8254 раз(а).

Учебник HTML.
Просмотров 4882 раз(а).

Руководство по PHP5.
Просмотров 1969 раз(а).

Хостинг через призму DNS.
Просмотров 6976 раз(а).

Подборка текстов стандартных документов.
Просмотров 57525 раз(а).

Учебник PHP - Самоучитель
Просмотров 5172 раз(а).

Документация на MySQL (учебник & справочное руководство)
Просмотров 11300 раз(а).

Внешние атаки...
Просмотров 7255 раз(а).

Учебник PHP.
Просмотров 4262 раз(а).

SSI в примерах.
Просмотров 1203 раз(а).



 
 
| Добавить в избранное | Сделать стартовой | Помощь





Руководство по PHP
Пред. След.

php_stream_copy_to_mem

(no version information, might be only in CVS)

php_stream_copy_to_mem -- Copy data from stream and into an allocated buffer

Description

size_t php_stream_copy_to_mem ( php_stream * src, char ** buf, size_t maxlen, int persistent )

php_stream_copy_to_mem() allocates a buffer maxlen+1 bytes in length using pemalloc() (passing persistent). It then reads maxlen bytes from src and stores them in the allocated buffer.

The allocated buffer is returned in buf, and the number of bytes successfully read. You, the caller, are responsible for freeing the buffer by passing it and persistent to pefree().

If you want to copy all remaining data from the src stream, pass the constant PHP_STREAM_COPY_ALL as the value of maxlen.

Замечание: This function will attempt to copy the data in the most efficient manner, using memory mapped files when possible.


Пред. Начало След.
php_stream_copy_to_stream Уровень выше php_stream_make_seekable


Если Вы не нашли что искали, то рекомендую воспользоваться поиском по сайту:
 





Copyright © 2005-2016 Project.Net.Ru