From b3ad34670f9c0b6375bce6da58b55e99e847b179 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Sat, 11 Jan 2003 18:20:22 +0000 Subject: [PATCH] Changed int to resource for file handles. Also renamed handle to fp for consistency. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@111445 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/fclose.xml | 4 ++-- reference/filesystem/functions/feof.xml | 6 +++--- reference/filesystem/functions/fflush.xml | 6 +++--- reference/filesystem/functions/fgetc.xml | 4 ++-- reference/filesystem/functions/fgetcsv.xml | 4 ++-- reference/filesystem/functions/fgets.xml | 4 ++-- reference/filesystem/functions/fgetss.xml | 4 ++-- reference/filesystem/functions/flock.xml | 4 ++-- reference/filesystem/functions/fopen.xml | 4 ++-- reference/filesystem/functions/fpassthru.xml | 8 +++++--- reference/filesystem/functions/fputs.xml | 4 ++-- reference/filesystem/functions/fread.xml | 4 ++-- reference/filesystem/functions/fscanf.xml | 6 +++--- reference/filesystem/functions/fseek.xml | 4 ++-- reference/filesystem/functions/fstat.xml | 4 ++-- reference/filesystem/functions/ftell.xml | 4 ++-- reference/filesystem/functions/ftruncate.xml | 6 +++--- reference/filesystem/functions/fwrite.xml | 4 ++-- reference/filesystem/functions/pclose.xml | 4 ++-- reference/filesystem/functions/popen.xml | 4 ++-- reference/filesystem/functions/rewind.xml | 4 ++-- reference/filesystem/functions/tmpfile.xml | 4 ++-- 22 files changed, 51 insertions(+), 49 deletions(-) diff --git a/reference/filesystem/functions/fclose.xml b/reference/filesystem/functions/fclose.xml index 24b334f11a..5c8c498e3b 100644 --- a/reference/filesystem/functions/fclose.xml +++ b/reference/filesystem/functions/fclose.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description boolfclose - intfp + resourcefp The file pointed to by fp is closed. diff --git a/reference/filesystem/functions/feof.xml b/reference/filesystem/functions/feof.xml index a8ecad4015..5dfa7e1a83 100644 --- a/reference/filesystem/functions/feof.xml +++ b/reference/filesystem/functions/feof.xml @@ -1,5 +1,5 @@ - + @@ -9,8 +9,8 @@ Description - intfeof - intfp + boolfeof + resourcefp Returns &true; if the file pointer is at EOF or an error occurs; diff --git a/reference/filesystem/functions/fflush.xml b/reference/filesystem/functions/fflush.xml index 4a2e16e076..788d5b8cd8 100644 --- a/reference/filesystem/functions/fflush.xml +++ b/reference/filesystem/functions/fflush.xml @@ -1,5 +1,5 @@ - + @@ -9,8 +9,8 @@ Description - intfflush - intfp + boolfflush + resourcefp This function forces a write of all buffered output to the diff --git a/reference/filesystem/functions/fgetc.xml b/reference/filesystem/functions/fgetc.xml index 75072b577a..2af03bf7b5 100644 --- a/reference/filesystem/functions/fgetc.xml +++ b/reference/filesystem/functions/fgetc.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description stringfgetc - intfp + resourcefp Returns a string containing a single character read from the diff --git a/reference/filesystem/functions/fgetcsv.xml b/reference/filesystem/functions/fgetcsv.xml index cb66a267f5..ccfe960273 100644 --- a/reference/filesystem/functions/fgetcsv.xml +++ b/reference/filesystem/functions/fgetcsv.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description arrayfgetcsv - intfp + resourcefp intlength stringdelimiter stringenclosure diff --git a/reference/filesystem/functions/fgets.xml b/reference/filesystem/functions/fgets.xml index 1d6d934f4c..9998da3744 100644 --- a/reference/filesystem/functions/fgets.xml +++ b/reference/filesystem/functions/fgets.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description stringfgets - intfp + resourcefp intlength diff --git a/reference/filesystem/functions/fgetss.xml b/reference/filesystem/functions/fgetss.xml index 211593aede..92fb9ee20f 100644 --- a/reference/filesystem/functions/fgetss.xml +++ b/reference/filesystem/functions/fgetss.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description stringfgetss - intfp + resourcefp intlength stringallowable_tags diff --git a/reference/filesystem/functions/flock.xml b/reference/filesystem/functions/flock.xml index 3430395839..27320f2790 100644 --- a/reference/filesystem/functions/flock.xml +++ b/reference/filesystem/functions/flock.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description boolflock - intfp + resourcefp intoperation int&wouldblock diff --git a/reference/filesystem/functions/fopen.xml b/reference/filesystem/functions/fopen.xml index 2db8163300..750773c3af 100644 --- a/reference/filesystem/functions/fopen.xml +++ b/reference/filesystem/functions/fopen.xml @@ -1,5 +1,5 @@ - + @@ -9,7 +9,7 @@ Description - intfopen + resourcefopen stringfilename stringmode intuse_include_path diff --git a/reference/filesystem/functions/fpassthru.xml b/reference/filesystem/functions/fpassthru.xml index 9f631e06a9..577a7f45c7 100644 --- a/reference/filesystem/functions/fpassthru.xml +++ b/reference/filesystem/functions/fpassthru.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description intfpassthru - intfp + resourcefp Reads to EOF on the given file pointer from the current position and @@ -18,7 +18,9 @@ If an error occurs, fpassthru returns - &false;. + &false;. Otherwise, fpassthru returns + the number of characters read from fp + and passed through to the output. The file pointer must be valid, and must point to a file successfully diff --git a/reference/filesystem/functions/fputs.xml b/reference/filesystem/functions/fputs.xml index 70c2292f25..8c6dcb3ff9 100644 --- a/reference/filesystem/functions/fputs.xml +++ b/reference/filesystem/functions/fputs.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description intfputs - intfp + resourcefp stringstr intlength diff --git a/reference/filesystem/functions/fread.xml b/reference/filesystem/functions/fread.xml index b4c62ae3e2..9eb41f3483 100644 --- a/reference/filesystem/functions/fread.xml +++ b/reference/filesystem/functions/fread.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description stringfread - intfp + resourcefp intlength diff --git a/reference/filesystem/functions/fscanf.xml b/reference/filesystem/functions/fscanf.xml index 11310df7f0..8e1cf0bcff 100644 --- a/reference/filesystem/functions/fscanf.xml +++ b/reference/filesystem/functions/fscanf.xml @@ -1,5 +1,5 @@ - + @@ -10,14 +10,14 @@ Description mixedfscanf - inthandle + resourcefp stringformat stringvar1 The function fscanf is similar to sscanf, but it takes its input from a file - associated with handle and interprets the + associated with fp and interprets the input according to the specified format. If only two parameters were passed to this function, the values parsed will be returned as an array. diff --git a/reference/filesystem/functions/fseek.xml b/reference/filesystem/functions/fseek.xml index cec8b57083..0cd9d53dc2 100644 --- a/reference/filesystem/functions/fseek.xml +++ b/reference/filesystem/functions/fseek.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description intfseek - intfp + resourcefp intoffset intwhence diff --git a/reference/filesystem/functions/fstat.xml b/reference/filesystem/functions/fstat.xml index c70fb4056a..d7fc37d691 100644 --- a/reference/filesystem/functions/fstat.xml +++ b/reference/filesystem/functions/fstat.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description arrayfstat - intfp + resourcefp Gathers the statistics of the file opened by the file diff --git a/reference/filesystem/functions/ftell.xml b/reference/filesystem/functions/ftell.xml index 39e188ed0f..70864aabef 100644 --- a/reference/filesystem/functions/ftell.xml +++ b/reference/filesystem/functions/ftell.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description intftell - intfp + resourcefp Returns the position of the file pointer referenced by fp; i.e., diff --git a/reference/filesystem/functions/ftruncate.xml b/reference/filesystem/functions/ftruncate.xml index bc523874fc..a744b919d5 100644 --- a/reference/filesystem/functions/ftruncate.xml +++ b/reference/filesystem/functions/ftruncate.xml @@ -1,5 +1,5 @@ - + @@ -9,8 +9,8 @@ Description - intftruncate - intfp + boolftruncate + resourcefp intsize diff --git a/reference/filesystem/functions/fwrite.xml b/reference/filesystem/functions/fwrite.xml index 9003336874..6134f8ffea 100644 --- a/reference/filesystem/functions/fwrite.xml +++ b/reference/filesystem/functions/fwrite.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description intfwrite - intfp + resourcefp stringstring intlength diff --git a/reference/filesystem/functions/pclose.xml b/reference/filesystem/functions/pclose.xml index 5fd576ad51..1f49024423 100644 --- a/reference/filesystem/functions/pclose.xml +++ b/reference/filesystem/functions/pclose.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description intpclose - intfp + resourcefp Closes a file pointer to a pipe opened by diff --git a/reference/filesystem/functions/popen.xml b/reference/filesystem/functions/popen.xml index c19e181652..b4c98f896e 100644 --- a/reference/filesystem/functions/popen.xml +++ b/reference/filesystem/functions/popen.xml @@ -1,5 +1,5 @@ - + @@ -9,7 +9,7 @@ Description - intpopen + resourcepopen stringcommand stringmode diff --git a/reference/filesystem/functions/rewind.xml b/reference/filesystem/functions/rewind.xml index a1a9506680..c45b9922e2 100644 --- a/reference/filesystem/functions/rewind.xml +++ b/reference/filesystem/functions/rewind.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description intrewind - intfp + resourcefp Sets the file position indicator for fp to the beginning of the diff --git a/reference/filesystem/functions/tmpfile.xml b/reference/filesystem/functions/tmpfile.xml index 250c4b925b..12faca4b1d 100644 --- a/reference/filesystem/functions/tmpfile.xml +++ b/reference/filesystem/functions/tmpfile.xml @@ -1,5 +1,5 @@ - + @@ -9,7 +9,7 @@ Description - inttmpfile + resourcetmpfile