diff options
| author | 2021-10-06 22:53:36 +0000 | |
|---|---|---|
| committer | 2021-10-06 22:53:36 +0000 | |
| commit | 097d2a50873100486d65a69cb1cbabf37fb3b188 (patch) | |
| tree | c2f19f92e4503b2de0afeebdd9bf7aeb1bb2e9c1 /include/android/sharedmem.h | |
| parent | cbfb18e134845deeace954bbba818acda48cb80f (diff) | |
| parent | adcb6a2733c1baf66e5ad72365965ab504f5f959 (diff) | |
Merge Android 12
Bug: 202323961
Merged-In: Ifb27b3eb12454fa96f07e6797745c697b4f831c4
Change-Id: I2a7f5931477fddb51564c2eabcdc96ce58888ce8
Diffstat (limited to 'include/android/sharedmem.h')
| -rw-r--r-- | include/android/sharedmem.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/android/sharedmem.h b/include/android/sharedmem.h index 7994aa9914..e0a8045d41 100644 --- a/include/android/sharedmem.h +++ b/include/android/sharedmem.h @@ -59,9 +59,10 @@ extern "C" { * * Use close() to release the shared memory region. * - * Use {@link android.os.ParcelFileDescriptor} to pass the file descriptor to - * another process. File descriptors may also be sent to other processes over a Unix domain - * socket with sendmsg and SCM_RIGHTS. See sendmsg(3) and cmsg(3) man pages for more information. + * Use <a href="/reference/android/os/ParcelFileDescriptor">android.os.ParcelFileDescriptor</a> + * to pass the file descriptor to another process. File descriptors may also be sent to other + * processes over a Unix domain socket with sendmsg and SCM_RIGHTS. See sendmsg(3) and + * cmsg(3) man pages for more information. * * If you intend to share this file descriptor with a child process after * calling exec(3), note that you will need to use fcntl(2) with FD_SETFD @@ -71,7 +72,8 @@ extern "C" { * * \param name an optional name. * \param size size of the shared memory region - * \return file descriptor that denotes the shared memory; -1 and sets errno on failure, or -EINVAL if the error is that size was 0. + * \return file descriptor that denotes the shared memory; + * -1 and sets errno on failure, or -EINVAL if the error is that size was 0. */ int ASharedMemory_create(const char *name, size_t size) __INTRODUCED_IN(26); |