Date: Mon, 24 Nov 1997 17:29:18 -0800 (PST) From: Alex Nash <alex@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc_r/uthread uthread_cond.c uthread_condattr_destroy.c uthread_condattr_init.c uthread_detach.c uthread_join.c uthread_mattr_init.c uthread_mutex.c uthread_mutexattr_destroy.c uthread_spec.c Message-ID: <199711250129.RAA25639@freefall.freebsd.org>
index | next in thread | raw e-mail
alex 1997/11/24 17:29:18 PST
Modified files:
lib/libc_r/uthread uthread_cond.c uthread_condattr_destroy.c
uthread_condattr_init.c uthread_detach.c
uthread_join.c uthread_mattr_init.c
uthread_mutex.c
uthread_mutexattr_destroy.c
uthread_spec.c
Log:
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.
Revision Changes Path
1.7 +13 -26 src/lib/libc_r/uthread/uthread_cond.c
1.2 +1 -2 src/lib/libc_r/uthread/uthread_condattr_destroy.c
1.2 +1 -2 src/lib/libc_r/uthread/uthread_condattr_init.c
1.3 +2 -4 src/lib/libc_r/uthread/uthread_detach.c
1.3 +3 -6 src/lib/libc_r/uthread/uthread_join.c
1.2 +1 -2 src/lib/libc_r/uthread/uthread_mattr_init.c
1.4 +16 -32 src/lib/libc_r/uthread/uthread_mutex.c
1.2 +1 -2 src/lib/libc_r/uthread/uthread_mutexattr_destroy.c
1.5 +0 -1 src/lib/libc_r/uthread/uthread_spec.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711250129.RAA25639>
