Skip to content

Commit cdcf597

Browse files
committed
improvement: global socket implementation (test)
1 parent 7860a0d commit cdcf597

18 files changed

Lines changed: 535 additions & 259 deletions

exports.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
libandroid_shmget;
55
libandroid_shmat;
66
libandroid_shmdt;
7+
libandroid_shmat_fd;
8+
libandroid_shmdt_fd;
79
shmctl;
810
shmget;
911
shmat;

shm.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ extern void *shmat(int shmid, void const* shmaddr, int shmflg);
3131
#define shmdt libandroid_shmdt
3232
extern int shmdt(void const* shmaddr);
3333

34+
extern int libandroid_shmat_fd(int shmid, size_t* out_size);
35+
extern int libandroid_shmdt_fd(int fd);
36+
3437
__END_DECLS
3538

3639
#endif

0 commit comments

Comments
 (0)