![]() | ![]() | ![]() | GMime Reference Manual | ![]() |
---|
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);
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. |
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. |
<<< gmime-stream-mem | gmime-stream-null >>> |