/usr/include/sary/mmap.h is in libsary-dev 1:1.2.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #ifndef __SARY_MMAP_H__
#define __SARY_MMAP_H__
#include <glib.h>
#include <unistd.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef struct {
size_t len;
gpointer map;
gpointer data;
} SaryMmap;
SaryMmap* sary_mmap (const gchar *file_name, const gchar *mode);
void sary_munmap (SaryMmap *mobj);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __SARY_MMAP_H__ */
|