From 8d233c0a5465d93993ae91b0ee1753cdb787ab3a Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 31 Aug 1995 22:30:36 +0000 Subject: `pipe_pair_select_read_write' --> `pipe_pair_select'. `pipe_select_read' --> `pipe_select_readable'. `pipe_select_write' --> `pipe_select_writable'. --- libpipe/pipe.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libpipe') diff --git a/libpipe/pipe.c b/libpipe/pipe.c index 358a27ee..33a6751d 100644 --- a/libpipe/pipe.c +++ b/libpipe/pipe.c @@ -145,8 +145,8 @@ void _pipe_no_writers (struct pipe *pipe) waited for on RPIPE. Neither RPIPE or WPIPE should be locked when calling this function (unlike most pipe functions). */ error_t -pipe_pair_select_read_write (struct pipe *rpipe, struct pipe *wpipe, - int *select_type, int data_only) +pipe_pair_select (struct pipe *rpipe, struct pipe *wpipe, + int *select_type, int data_only) { error_t err = 0; @@ -155,13 +155,13 @@ pipe_pair_select_read_write (struct pipe *rpipe, struct pipe *wpipe, if (*select_type == SELECT_READ) { mutex_lock (&rpipe->lock); - err = pipe_select_read (rpipe, data_only); + err = pipe_select_readable (rpipe, data_only); mutex_unlock (&rpipe->lock); } else if (*select_type == SELECT_WRITE) { mutex_lock (&wpipe->lock); - err = pipe_select_write (wpipe); + err = pipe_select_writable (wpipe); mutex_unlock (&wpipe->lock); } else -- cgit v1.2.3