This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] posix: Add missing nonnull attributes and __restrict qualifiers


* Florian Weimer:

> For consistency with execve, the __envp arguments are not marked
> nonnull.
>
> 2018-12-07  Florian Weimer  <fweimer@redhat.com>
>
> 	* posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
> 	(posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
> 	(posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
> 	Likewise.
> 	(posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
> 	(posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
> 	(posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
> 	(posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
> 	Likewise.
> 	(posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
> 	Likewise.
> 	(posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
> 	Likewise.
> 	(posix_spawn_file_actions_addopen): Likewise.
> 	(posix_spawn_file_actions_addclose): Likewise.
> 	(posix_spawn_file_actions_adddup2): Likewise.
> 	(posix_spawn_file_actions_addchdir_np): Likewise.  Add __restrict
> 	qualifiers.
> 	(posix_spawn_file_actions_addfchdir_np): Likewise.

Ping?  <https://sourceware.org/ml/libc-alpha/2018-12/msg00246.html>

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]