]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Modify the return values to comply with POSIX. Previously these
authoralex <alex@FreeBSD.org>
Tue, 25 Nov 1997 01:29:16 +0000 (01:29 +0000)
committeralex <alex@FreeBSD.org>
Tue, 25 Nov 1997 01:29:16 +0000 (01:29 +0000)
commit2d792e656e2819795c575a1abeb8dc54e2357484
treeafcf53c94eef7b38ab83072ef9f8a80651b0230d
parent674aa81547dfa76c24a1a45b5acb9119cab75311
Modify the return values to comply with POSIX.  Previously these
functions would return -1 and set errno to indicate the specific error.
POSIX requires that the functions return the error code as the return
value of the function instead.
27 files changed:
lib/libc_r/uthread/uthread_cond.c
lib/libc_r/uthread/uthread_condattr_destroy.c
lib/libc_r/uthread/uthread_condattr_init.c
lib/libc_r/uthread/uthread_detach.c
lib/libc_r/uthread/uthread_join.c
lib/libc_r/uthread/uthread_mattr_init.c
lib/libc_r/uthread/uthread_mutex.c
lib/libc_r/uthread/uthread_mutexattr_destroy.c
lib/libc_r/uthread/uthread_spec.c
lib/libkse/thread/thr_cond.c
lib/libkse/thread/thr_condattr_destroy.c
lib/libkse/thread/thr_condattr_init.c
lib/libkse/thread/thr_detach.c
lib/libkse/thread/thr_join.c
lib/libkse/thread/thr_mattr_init.c
lib/libkse/thread/thr_mutex.c
lib/libkse/thread/thr_mutexattr_destroy.c
lib/libkse/thread/thr_spec.c
lib/libpthread/thread/thr_cond.c
lib/libpthread/thread/thr_condattr_destroy.c
lib/libpthread/thread/thr_condattr_init.c
lib/libpthread/thread/thr_detach.c
lib/libpthread/thread/thr_join.c
lib/libpthread/thread/thr_mattr_init.c
lib/libpthread/thread/thr_mutex.c
lib/libpthread/thread/thr_mutexattr_destroy.c
lib/libpthread/thread/thr_spec.c