Merge "Nullability check for statvfs module." am: 417c3a197b

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2552371

Change-Id: Ib370458599b546988c5e786c83be87b14d7eb36c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-04-21 18:23:26 +00:00 committed by Automerger Merge Worker
commit 089555446c

View file

@ -96,7 +96,7 @@ struct statvfs64 { __STATVFS64_BODY __STATVFS64_CODA };
*
* Available since API level 19.
*/
int statvfs(const char* __path, struct statvfs* __buf) __INTRODUCED_IN(19);
int statvfs(const char* _Nonnull __path, struct statvfs* _Nonnull __buf) __INTRODUCED_IN(19);
/**
* [fstatvfs(3)](http://man7.org/linux/man-pages/man3/fstatvfs.3.html)
@ -106,12 +106,12 @@ int statvfs(const char* __path, struct statvfs* __buf) __INTRODUCED_IN(19);
*
* Available since API level 19.
*/
int fstatvfs(int __fd, struct statvfs* __buf) __INTRODUCED_IN(19);
int fstatvfs(int __fd, struct statvfs* _Nonnull __buf) __INTRODUCED_IN(19);
/** Equivalent to statvfs() . */
int statvfs64(const char* __path, struct statvfs64* __buf) __INTRODUCED_IN(21);
int statvfs64(const char* _Nonnull __path, struct statvfs64* _Nonnull __buf) __INTRODUCED_IN(21);
/** Equivalent to fstatvfs(). */
int fstatvfs64(int __fd, struct statvfs64* __buf) __INTRODUCED_IN(21);
int fstatvfs64(int __fd, struct statvfs64* _Nonnull __buf) __INTRODUCED_IN(21);
__END_DECLS