summaryrefslogtreecommitdiff
path: root/main/streams.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-16 03:50:17 +0000
committerWez Furlong <wez@php.net>2002-03-16 03:50:17 +0000
commit29cb19ad1848fc74e542daaa2f58f501ea4e78a8 (patch)
treea352a49fbd5ed3e8dbb035623ddb1921bd6f90b6 /main/streams.c
parent31fe5e46cb86e9d7441c5bad14144cdc415d5c79 (diff)
downloadphp-git-29cb19ad1848fc74e542daaa2f58f501ea4e78a8.tar.gz
some minor docu-in-header changes
Diffstat (limited to 'main/streams.c')
-rwxr-xr-xmain/streams.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/streams.c b/main/streams.c
index 5e52851464..3b58318036 100755
--- a/main/streams.c
+++ b/main/streams.c
@@ -34,6 +34,7 @@
#define MAP_FAILED ((void *) -1)
#endif
+#define CHUNK_SIZE 8192
#ifdef PHP_WIN32
#define EWOULDBLOCK WSAEWOULDBLOCK
@@ -227,8 +228,6 @@ PHPAPI int php_stream_seek(php_stream *stream, off_t offset, int whence)
return -1;
}
-#define CHUNK_SIZE 8192
-
PHPAPI size_t php_stream_read_all(php_stream *src, char **buf, int persistent)
{
size_t ret = 0;