From 75903038bc52105bc7479fe5f2b75f22f10c1c50 Mon Sep 17 00:00:00 2001 From: jasone Date: Wed, 12 Jan 2000 09:23:48 +0000 Subject: Add three-tier symbol naming in support of POSIX thread cancellation points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read(). --- lib/libc/rpc/rtime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/rpc/rtime.c') diff --git a/lib/libc/rpc/rtime.c b/lib/libc/rpc/rtime.c index 4e65c03..25b11ca 100644 --- a/lib/libc/rpc/rtime.c +++ b/lib/libc/rpc/rtime.c @@ -129,7 +129,7 @@ rtime(addrp, timep, timeout) do_close(s); return(-1); } - res = read(s, (char *)&thetime, sizeof(thetime)); + res = _libc_read(s, (char *)&thetime, sizeof(thetime)); do_close(s); if (res < 0) { return(-1); @@ -152,6 +152,6 @@ do_close(s) int save; save = errno; - (void) close(s); + (void)_libc_close(s); errno = save; } -- cgit v1.1