Undocumented in source.
Undocumented in source.
@param buffer The kstring to be used to store the modified filename @param filename The filename to be (copied and) adjusted @param replace If non-zero, one extension (if any) is removed first @param extension The extension to be added (e.g. ".csi") @return The modified filename (i.e., buffer->s), or NULL on error. @since 1.10
Clear the stream's error indicator
@return 0 if successful, or EOF (with _errno_ set) if an error occurred.
For use while cleaning up after an error only. Preserves _errno_.
@return An hFILE pointer, or NULL (with _errno_ set) if an error occurred.
@return Non-zero (in fact, an _errno_ value) if an error has occurred.
@return buffer if successful, or NULL if an error occurred
@return buffer if successful, or NULL if an error occurred
set hfile blocksize
@return 0 if successful, or EOF if an error occurred.
@return The character read, or EOF on end-of-file or error.
@param buffer The buffer into which bytes will be written @param size The size of the buffer @param delim The delimiter (interpreted as an unsigned char) @param fp The file stream @return The number of bytes read, or negative on error. @since 1.4
@param buffer The buffer into which bytes will be written @param size The size of the buffer @param fp The file stream @return The number of bytes read, or negative on error. @since 1.4
@param buffer The buffer into which bytes will be written @param size The size of the buffer (must be > 1 to be useful) @param fp The file stream @return _buffer_ on success, or NULL if an error occurred. @since 1.4
@return 0 if local, 1 if remote.
@return An hFILE pointer, or NULL (with _errno_ set) if an error occurred.
@param fp The file stream @param buffer The buffer to which the peeked bytes will be written @param nbytes The number of bytes to peek at; limited by the size of the internal buffer, which could be as small as 4K. @return The number of bytes peeked, which may be less than _nbytes_ if EOF is encountered; or negative, if there was an I/O error.
@return The character written, or EOF if an error occurred.
@return 0 if successful, or EOF if an error occurred.
@return The number of bytes read, or negative if an error occurred.
@return The resulting offset within the stream (as per lseek(2)), or negative if an error occurred.
@return The offset within the stream, starting from zero.
@return Either _nbytes_, or negative if an error occurred.
The fields of this structure are declared here solely for the benefit of the hFILE-related inline functions. They may change in future releases. User code should not use them directly; you should imagine that hFILE is an opaque incomplete type.
internal
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Undocumented in source.