gmime-stream-mmap

Name

gmime-stream-mmap -- 

Synopsis



struct      GMimeStreamMmap;
GMimeStream* g_mime_stream_mmap_new         (int fd,
                                             int prot,
                                             int flags);
GMimeStream* g_mime_stream_mmap_new_with_bounds
                                            (int fd,
                                             int prot,
                                             int flags,
                                             off_t start,
                                             off_t end);


Object Hierarchy


  GObject
   +----GMimeStream
         +----GMimeStreamMmap

Description

Details

struct GMimeStreamMmap

struct GMimeStreamMmap;


g_mime_stream_mmap_new ()

GMimeStream* g_mime_stream_mmap_new         (int fd,
                                             int prot,
                                             int flags);

Creates a new GMimeStreamMmap object around fd.

fd :

file descriptor

prot :

protection flags

flags :

map flags

Returns :

a stream using fd.


g_mime_stream_mmap_new_with_bounds ()

GMimeStream* g_mime_stream_mmap_new_with_bounds
                                            (int fd,
                                             int prot,
                                             int flags,
                                             off_t start,
                                             off_t end);

Creates a new GMimeStreamMmap object around fd with bounds start and end.

fd :

file descriptor

prot :

protection flags

flags :

map flags

start :

start boundary

end :

end boundary

Returns :

a stream using fd with bounds start and end.