Merge "Nullability check for wait module."

This commit is contained in:
Treehugger Robot 2023-04-17 18:13:09 +00:00 committed by Gerrit Code Review
commit e1df179f00

View file

@ -37,9 +37,9 @@
__BEGIN_DECLS __BEGIN_DECLS
pid_t wait(int* __status); pid_t wait(int* _Nullable __status);
pid_t waitpid(pid_t __pid, int* __status, int __options); pid_t waitpid(pid_t __pid, int* _Nullable __status, int __options);
pid_t wait4(pid_t __pid, int* __status, int __options, struct rusage* __rusage) __INTRODUCED_IN(18); pid_t wait4(pid_t __pid, int* _Nullable __status, int __options, struct rusage* _Nullable __rusage) __INTRODUCED_IN(18);
/* Posix states that idtype_t should be an enumeration type, but /* Posix states that idtype_t should be an enumeration type, but
* the kernel headers define P_ALL, P_PID and P_PGID as constant macros * the kernel headers define P_ALL, P_PID and P_PGID as constant macros
@ -47,6 +47,6 @@ pid_t wait4(pid_t __pid, int* __status, int __options, struct rusage* __rusage)
*/ */
typedef int idtype_t; typedef int idtype_t;
int waitid(idtype_t __type, id_t __id, siginfo_t* __info, int __options); int waitid(idtype_t __type, id_t __id, siginfo_t* _Nullable __info, int __options);
__END_DECLS __END_DECLS