From 8201522c964aa6ae56352e83cf86efda8e60aa0b Mon Sep 17 00:00:00 2001 From: Thomas Schoefbeck Date: Wed, 15 Jan 2003 20:22:11 +0000 Subject: [PATCH] more fp->handle changes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112011 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/fgetc.xml | 5 +++-- reference/filesystem/functions/fgets.xml | 10 +++++----- reference/filesystem/functions/fstat.xml | 4 ++-- reference/filesystem/functions/ftell.xml | 7 ++++--- reference/filesystem/functions/rewind.xml | 6 +++--- 5 files changed, 17 insertions(+), 15 deletions(-) diff --git a/reference/filesystem/functions/fgetc.xml b/reference/filesystem/functions/fgetc.xml index 96a04c3143..0febf91b32 100644 --- a/reference/filesystem/functions/fgetc.xml +++ b/reference/filesystem/functions/fgetc.xml @@ -1,5 +1,5 @@ - + @@ -14,7 +14,8 @@ Returns a string containing a single character read from the - file pointed to by fp. Returns &false; on EOF. + file pointed to by handle. + Returns &false; on EOF. The file pointer must be valid, and must point to a file diff --git a/reference/filesystem/functions/fgets.xml b/reference/filesystem/functions/fgets.xml index 609abdcd17..a658556f97 100644 --- a/reference/filesystem/functions/fgets.xml +++ b/reference/filesystem/functions/fgets.xml @@ -1,5 +1,5 @@ - + @@ -15,10 +15,10 @@ Returns a string of up to length - 1 bytes read from the file - pointed to by fp. Reading ends when length - 1 bytes have been - read, on a newline (which is included in the return value), or on - EOF (whichever comes first). If no length is specified, the length - defaults to 1k, or 1024 bytes. + pointed to by handle. Reading ends when + length - 1 bytes have been read, on a newline (which is included + in the return value), or on EOF (whichever comes first). If no length + is specified, the length defaults to 1k, or 1024 bytes. If an error occurs, returns &false;. diff --git a/reference/filesystem/functions/fstat.xml b/reference/filesystem/functions/fstat.xml index 764a3e96de..f60846fa87 100644 --- a/reference/filesystem/functions/fstat.xml +++ b/reference/filesystem/functions/fstat.xml @@ -1,5 +1,5 @@ - + @@ -14,7 +14,7 @@ Gathers the statistics of the file opened by the file - pointer fp. This function is similar to the + pointer handle. This function is similar to the stat function except that it operates on an open file pointer instead of a filename. diff --git a/reference/filesystem/functions/ftell.xml b/reference/filesystem/functions/ftell.xml index 58f1cc1e2b..8c72dbe2a8 100644 --- a/reference/filesystem/functions/ftell.xml +++ b/reference/filesystem/functions/ftell.xml @@ -1,5 +1,5 @@ - + @@ -13,8 +13,9 @@ resourcehandle - Returns the position of the file pointer referenced by fp; i.e., - its offset into the file stream. + Returns the position of the file pointer referenced by + handle; i.e., its offset into the + file stream. If an error occurs, returns &false;. diff --git a/reference/filesystem/functions/rewind.xml b/reference/filesystem/functions/rewind.xml index cf08f3e43e..23dff16459 100644 --- a/reference/filesystem/functions/rewind.xml +++ b/reference/filesystem/functions/rewind.xml @@ -1,5 +1,5 @@ - + @@ -13,8 +13,8 @@ resourcehandle - Sets the file position indicator for fp to the beginning of the - file stream. + Sets the file position indicator for handle + to the beginning of the file stream. If an error occurs, returns 0, otherwise it returns 1.