Merge "Nullability check for nl_types module"
This commit is contained in:
commit
ec612d46c5
1 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ typedef int nl_item;
|
|||
*
|
||||
* Available since API level 28.
|
||||
*/
|
||||
nl_catd catopen(const char* __name, int __flag) __INTRODUCED_IN(26);
|
||||
nl_catd _Nonnull catopen(const char* _Nonnull __name, int __flag) __INTRODUCED_IN(26);
|
||||
|
||||
/**
|
||||
* [catgets(3)](http://man7.org/linux/man-pages/man3/catgets.3.html) translates the given message
|
||||
|
@ -72,13 +72,13 @@ nl_catd catopen(const char* __name, int __flag) __INTRODUCED_IN(26);
|
|||
*
|
||||
* Available since API level 28.
|
||||
*/
|
||||
char* catgets(nl_catd __catalog, int __set_number, int __msg_number, const char* __msg) __INTRODUCED_IN(26);
|
||||
char* _Nonnull catgets(nl_catd _Nonnull __catalog, int __set_number, int __msg_number, const char* _Nonnull __msg) __INTRODUCED_IN(26);
|
||||
|
||||
/**
|
||||
* [catclose(3)](http://man7.org/linux/man-pages/man3/catclose.3.html) closes a message catalog.
|
||||
*
|
||||
* On Android, this always returns -1 with `errno` set to `EBADF`.
|
||||
*/
|
||||
int catclose(nl_catd __catalog) __INTRODUCED_IN(26);
|
||||
int catclose(nl_catd _Nonnull __catalog) __INTRODUCED_IN(26);
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Reference in a new issue