Copyright © 2001 - 2002 SILC Project SILC Project Website | SILC Toolkit Reference Manual Index

SILC Toolkit Reference Manual SILC Client Library Using SILC Client Library Client Library Interface SILC Core Library SILC Authentication Interface SILC Message Interface SILC Channel Interface SILC Command Interface SILC Notify Interface SILC Status Types SILC Modes SILC ID Interface SILC ID Cache Interface SILC Argument Interface SILC Attributes Interface Packet Protocol Interface SILC Crypto Library Introduction to SILC RNG SILC RNG Interface SILC Cipher API SILC PKCS API SILC Hash Interface SILC HMAC Interface SILC Math Library SILC MP Interface SILC Math Interface SILC SFTP Library SILC SFTP Interface SFTP Filesystems Interface SILC Key Exchange Library SILC SKE Interface SKE Status Types SKE Diffie Hellman Groups SKE Payloads SILC Utility Library Basic SILC Types SILC Buffer Interface SILC Buffer Format Interface SILC Hash Table Interface SILC Logging Interface SILC Memory Interface SILC Mutex Interface SILC Thread Interface SILC Network Interface SILC Schedule Interface SILC Socket Interface SILC Protocol Interface SILC Config Interface SILC File Util Interface SILC String Util Interface SILC Util Interface SILC List Interface SILC Dynamic List Interface SILC VCard Interface SILC Application Utilities Resource Links SILC Project Website SILC Protocol Documentation SILC White Paper SILC FAQ
Function silc_file_readfile SYNOPSIS
        char *silc_file_readfile(const char *filename, SilcUInt32 *return_len);
DESCRIPTION
        Reads the content of `filename' to a buffer.  The allocated buffer is
        returned.  This does not NULL terminate the buffer but EOF terminate
        it.  The caller must replace the EOF with NULL if the buffer must be
        NULL terminated.

        If the `return_len' pointer is not NULL, it's filled with the length of
        the file.
SILC File Util Interface silc_file_open silc_file_open_mode silc_file_read silc_file_write silc_file_close silc_file_readfile silc_file_writefile silc_file_writefile_mode silc_file_size

Copyright © 2001 - 2002 SILC Project SILC Project Website | SILC Toolkit Reference Manual Index