Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.so
tags
test/test-*
test/interactions-shm/test-*
2 changes: 2 additions & 0 deletions exports.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
libandroid_shmget;
libandroid_shmat;
libandroid_shmdt;
libandroid_shmat_fd;
libandroid_shmdt_fd;
shmctl;
shmget;
shmat;
Expand Down
3 changes: 3 additions & 0 deletions shm.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ extern void *shmat(int shmid, void const* shmaddr, int shmflg);
#define shmdt libandroid_shmdt
extern int shmdt(void const* shmaddr);

extern int libandroid_shmat_fd(int shmid, size_t* out_size);
extern int libandroid_shmdt_fd(int fd);

__END_DECLS

#endif
Loading