summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fe732d1)
raw | patch | inline | side by side (parent: fe732d1)
author | Elliott Hughes <enh@google.com> | |
Fri, 27 Jul 2018 22:13:33 +0000 (15:13 -0700) | ||
committer | Elliott Hughes <enh@google.com> | |
Fri, 27 Jul 2018 22:13:33 +0000 (15:13 -0700) |
Bug: N/A
Test: N/A
Change-Id: I0cc16cc9c32c6679098aa875d5f81829215868d4
Test: N/A
Change-Id: I0cc16cc9c32c6679098aa875d5f81829215868d4
libsync/include/ndk/sync.h | patch | blob | history |
index ba7d8c4db07b90ca9c635214bc69163d6140500c..2a59e35bbc638e78c71e14535f60a30f48494e1d 100644 (file)
*
* The original fences remain valid, and the caller is responsible for closing
* them.
+ *
+ * Available since API level 26.
*/
int32_t sync_merge(const char* name, int32_t fd1, int32_t fd2) __INTRODUCED_IN(26);
* Retrieve detailed information about a sync file and its fences.
*
* The returned sync_file_info must be freed by calling sync_file_info_free().
+ *
+ * Available since API level 26.
*/
struct sync_file_info* sync_file_info(int32_t fd) __INTRODUCED_IN(26);
*
* The returned array is owned by the parent sync file info, and has
* info->num_fences entries.
+ *
+ * Available since API level 26.
*/
static inline struct sync_fence_info* sync_get_fence_info(const struct sync_file_info* info) {
// This header should compile in C, but some C++ projects enable
#pragma GCC diagnostic pop
}
-/** Free a struct sync_file_info structure */
+/**
+ * Free a struct sync_file_info structure
+ *
+ * Available since API level 26.
+ */
void sync_file_info_free(struct sync_file_info* info) __INTRODUCED_IN(26);
#endif /* __ANDROID_API__ >= 26 */