Determines the number of bytes (expressed as a 32-bit integer) that are available for reading beyond the current read-write pointer in a specified file or socket.
#include <prio.h> PRInt64 PR_Available64(PRFileDesc *fd);
The function has the following parameter:
fdPRFileDesc object representing a file or socket.The function returns one of the following values:
PR_GetError.PR_Available64 works on normal files and sockets. PR_Available does not work with pipes on Win32 platforms.
If the number of bytes available for reading is within the range of a 32-bit integer, use PR_Available.