Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gmappedfile.h File Reference
#include <glib/gbytes.h>
#include <glib/gerror.h>

Go to the source code of this file.

Typedefs

typedef typedefG_BEGIN_DECLS struct _GMappedFile GMappedFile
 

Functions

GLIB_AVAILABLE_IN_ALL GMappedFileg_mapped_file_new (const gchar *filename, gboolean writable, GError **error)
 
GLIB_AVAILABLE_IN_ALL GMappedFileg_mapped_file_new_from_fd (gint fd, gboolean writable, GError **error)
 
GLIB_AVAILABLE_IN_ALL gsize g_mapped_file_get_length (GMappedFile *file)
 
GLIB_AVAILABLE_IN_ALL gcharg_mapped_file_get_contents (GMappedFile *file)
 
GLIB_AVAILABLE_IN_2_34 GBytesg_mapped_file_get_bytes (GMappedFile *file)
 
GLIB_AVAILABLE_IN_ALL GMappedFileg_mapped_file_ref (GMappedFile *file)
 
GLIB_AVAILABLE_IN_ALL void g_mapped_file_unref (GMappedFile *file)
 
void g_mapped_file_free (GMappedFile *file)
 

Typedef Documentation

◆ GMappedFile

typedef typedefG_BEGIN_DECLS struct _GMappedFile GMappedFile

Definition at line 34 of file gmappedfile.h.

Function Documentation

◆ g_mapped_file_free()

void g_mapped_file_free ( GMappedFile * file)

◆ g_mapped_file_get_bytes()

GLIB_AVAILABLE_IN_2_34 GBytes * g_mapped_file_get_bytes ( GMappedFile * file)

◆ g_mapped_file_get_contents()

GLIB_AVAILABLE_IN_ALL gchar * g_mapped_file_get_contents ( GMappedFile * file)

◆ g_mapped_file_get_length()

GLIB_AVAILABLE_IN_ALL gsize g_mapped_file_get_length ( GMappedFile * file)

◆ g_mapped_file_new()

GLIB_AVAILABLE_IN_ALL GMappedFile * g_mapped_file_new ( const gchar * filename,
gboolean writable,
GError ** error )

◆ g_mapped_file_new_from_fd()

GLIB_AVAILABLE_IN_ALL GMappedFile * g_mapped_file_new_from_fd ( gint fd,
gboolean writable,
GError ** error )

◆ g_mapped_file_ref()

GLIB_AVAILABLE_IN_ALL GMappedFile * g_mapped_file_ref ( GMappedFile * file)

◆ g_mapped_file_unref()

GLIB_AVAILABLE_IN_ALL void g_mapped_file_unref ( GMappedFile * file)