glibc/sysdeps/pthread
Yann Droneaud f492fc99f4 <semaphore.h>: Add nonnull attributes
Except the following functions, NPTL implementation assume sem_t
argument (or other arguments) are not NULL, so they would benefit
from having the nonnull attribute.

- sem_close(): can cope with a NULL sem_t and return -1 with error EINVAL;
- sem_destroy(): does nothing at all

	* sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
	(sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
	(sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
	(sem_getvalue): Likewise.
2019-04-29 10:11:35 +02:00
..
bits Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_cancel.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_error.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_fsync.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_misc.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_misc.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_notify.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_read64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_read.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_suspend.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_write64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_write.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
allocalim.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
flockfile.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
ftrylockfile.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
funlockfile.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
lio_listio64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
lio_listio.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Makeconfig
Makefile Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
posix-timer.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
semaphore.h <semaphore.h>: Add nonnull attributes 2019-04-29 10:11:35 +02:00
timer_create.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timer_delete.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timer_getoverr.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timer_gettime.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timer_routines.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timer_settime.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-timer.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Versions